Another central point in the walled city is the Selimiye Mosque, originally built as the St. Sophia Cathedral. The mosque is the chief religious centre in Northern Cyprus. It was built between 1209 and 1228 by the Latin Church of Cyprus, in a Gothic style resembling French cathedrals. Its columns are older, from the Roman era, indicating the possible presence of a Byzantine church before its construction. It used to be the place of coronation of Lusignan kings, and was converted to the largest mosque in the island by the Ottomans in 1571. It remains as a chief landmark of the city. Next to the mosque is the Bedesten, a large Greek church in the Byzantine and Gothic styles, built in the 6th and 14th centuries. It was used as a marketplace in the Ottoman era. Today, it is used as a cultural centre where various cultural activities such as concerts and festivals take place. The two buildings overlook a square, named the Selimiye Square, which also hosts cultural activity and occasional dance shows. The Library of Sultan Mahmud II, which hosts manuscripts in Turkish, Arabic and Persian that are over 500 years old and considered fine examples of calligraphy, is also located in the Selimiye Square.