The mosque, also known as the Sultan Mosque or Cami-i Kebir, is thought to have been built between 1134-1143 by the Danişment ruler Melik Mehmet Gazi, who made Kayseri the capital, and is the oldest Seljuk Period building in Kayseri. It is one of the first examples that kept the mosque tradition of the Great Seljuks alive in Anatolia with its longitudinal rectangular plan shape, the dome in front of the mihrab, and the understanding of continuing the iwan practice. The fountain, which was built to the east of the mosque, adjacent to the south wall of Vezirhan, is thought to have been built in the early 18th century.
The mosque has three gates: north, east and west. The wings of the north gate are exhibited in the Ethnography Museum.