 Their archetype is the main basilica of Constantinople (now a museum), built in the 6th century, in English simply known as the Hagia Sophia.The extant building of the Hagia Sophia dates to the 6th century.It is not entirely clear when the first church at the site had been dedicated to "Hagia Sophia".