Aya Sophia Hamam / Hagia sophia church was built during the reign of emperor theodosius and burned down in the fire to strengthen the building architect sinan did significant work in hagia sophia in the turkish period.