Dedicated in 537, Hagia Sophia has been the cathedral of the Patriarch of Constantinople (until 1453), a mosque (until 1931), and a museum; it became a mosque again in July 2020.