In 1359, Tarsus fell to Ramazanids, a Turkmen dynasty, and in 1415 Ahmet of Ramazanids (reigned 1383–1416) converted the church into a mosque.
The building
The total area of the (building and the yard) is 460 square metres (5,000 sq ft).[2] The inner dimensions of the building is 19.3 m × 17.5 m (63 ft × 57 ft). The width of the nave is 12.6 m (41 ft).
There are blind arches in the facade of the mosque. The main gate is to the west. There are two plaster half columns in the entrance, and also half columns on the southern and northern walls of the nave, which are made of granite, and thought to have been constructed with the gathered material of the former buildings. On the ceiling, Jesus and four of his apostles are depicted in frescoes. There is a belfry in the northeast corner of the building.[1]