Perhaps the most iconic religious architecture of Nicosia is the Cathedral of Saint Sophia, also known as the Agia Sophia of Nicosia, which was constructed in the year of 1326 as a Catholic church. It was converted into a mosque and it is located in North Nicosia. It has historically been the main mosque of the city. As a mosque it is known as the Selimiye Mosque which is housed in the largest and oldest surviving Gothic church in Cyprus (interior dimensions: 66 X 21 m) possibly constructed on the site of an earlier Byzantine church.