Hagia Sophia is one of the greatest construction works of the Middle Ages—it was built during the reign of Justinian the Great back in the sixth-century. One of the most fascinating accounts of how it was completed comes from the Patria, a tenth-century collection of stories and legends about Constantinople.
The Patria is an anonymous account that kind of reads like a travel guide to the capital of Byzantium. It contains stories about the churches, buildings and other monuments in Constantinople.