Saint Sophia Mosque, formerly a Constantinian Church and now a museum, was the largest cathedral ever built for nearly a thousand years (532-537 AD).