The Yunus Emre Camisi, 1349, the oldest building in town, from the Karamanoğlu period. The Wikipedia has some information about this dynasty: Beylik of Karaman or of Karamanoğlu (Karamanoğulları in Turkish plural), also called the Karamanid Dynasty or the Karamanids, was an Anatolian Turkish Beylik state centered in south-central Anatolia, around the present-day Karaman Province. From the 13th century until its fall in 1467, Karamanoğlu was one of the most powerful states in Anatolia.
Curiously I could speak with the imam in my own language, Dutch, as he had lived in Vlaardingen till he was 12.
Adjacent to the prayer hall of the mosque, there is a türbe (mausoleum) that is said to be the burial place of Yunus Emre, the famous 13th/14th century poet and Sufi mystic, who lived in Karaman for a number of years. (Note that there are six other and widely dispersed localities disputing the privilege of having his tomb within their boundaries).
Being indeed the oldest Karamanoğlu building in town, this mosque isn’t the oldest building overall. From the Seljuk era (12th- early 13th century) remain: the Citadel (Iç Kale), the Pazar Kapısi (Market Gate, a gateway of the medieval city walls), and the Saadettin Ali Bey Mescidi (a small mosque built in 1247).
Correspondent: J.M.Criel, Antwerpen.
Source: ‘Karaman (Tarihi ve Kültürü)’ (Ilhan Temizsoy & M. Vehbi Uysal) – Konya 1981 & Wikipedia.