Erdemşah Mosque, located in the Şükran District, is also known locally as Kale-i Cerp Masjid, reflecting the neighborhood's former name.
This remarkable structure, dating back to the Anatolian Seljuk period, was built in 1220 by Şemseddin Erdemşah, the son of Hacı İsmail, during the second reign of Sultan Alaeddin Keykubad, as noted in the six-line marble inscription in elegant calligraphy above its entrance. The tomb situated to the south of the mosque is believed to belong to Kale-i Cerp Sultan.
Erdemşah Mosque is an outstanding example of Seljuk architecture, having preserved much of its original form to this day. This Seljuk mosque features a cubical inner courtyard with brick domes set upon stone walls. It underwent significant renovations in 2007, during which its beautifully tiled mihrab was revealed, and the dome was covered with lead.