The mosque was built by Saqsiz Mirza in ca. 1442 (although it incorporated older structures dating back to 996) and covers 16,800 square meters.