 Arab rule after 637 allowed freedom of worship, and the restored hospice was probably allowed to continue serving its original purpose.In 800, Charlemagne, Emperor of the Holy Roman Empire, enlarged the hostel and added a library to it.Bernard the Monk, who wrote an account of his visit to Jerusalem in 870, mentions a Benedictine hospital close to the Church of the Holy Sepulchre.