Sinan Pasha Mosque was built around 1360 (originally as Christian Church of Saints Peter and Paul), supposedly with a third of the profits of a single trading venture of one of Famagusta's wealthiest businessmen, Simon Nostrano. it is one of the largest of the Gothic cathedrals in Famagusta, and is similar in design to St George of the Greeks, which was built around the same time.
Because of its massive height, the church walls had to be supported by flying buttresses, but perhaps shallow foundations, perhaps earthquakes meant that a further row of buttresses had to be constructed on the southern side in the 16th century, giving the church a unique appearance. Even now, if you look along the line of the wall, you can see it bowing outwards.
It is thought that the building became disused during the Venetian period, as it escaped the attention of the Ottoman bombardment of the city in 1571. After their conquest, the Ottomans took over the church as a mosque, naming it the Sinan Pasha Mosque. They added a minaret, to the south west corner, but that broke off centuries ago, and it now reaches no further than roof level. In fact, if you look at the minaret, it still shows signs of an imminent collapse.
During the British time, the mosque was used as a potato and grain store, leading to it being known locally as the 'wheat mosque' (Bugday Cami). It was further used as a store for redundant council equipment. In 1934 it was a petrol store. By 1964 it had been converted into Famagusta's town hall and library. Records from 1968 has it as a cafe, bar and dance hall. It is currently closed pending renovation.
In the southern courtyard, underneath the second row of buttresses, you will find the grave of Yirmisekiz Celebi, who was a renowned diplomat, serving as the Ottoman ambassador to France, but died in exile in Cyprus in 1732.References:
The city walls of Avila were built in the 11th century to protect the citizens from the Moors. They have been well maintained throughout the centuries and are now a major tourist attraction as well as a UNESCO World Heritage Site. Visitors can walk around about half of the length of the walls.
The layout of the city is an even quadrilateral with a perimeter of 2,516 m. Its walls, which consist in part of stones already used in earlier constructions, have an average thickness of 3 m. Access to the city is afforded by nine gates of different periods; twin 20 m high towers, linked by a semi-circular arch, flank the oldest ones, Puerta de San Vicente and Puerta del Alcázar.