 The nearby Alâiye Medrese, sometimes called the Pervâne Medrese, was completed the same year.In Tokat he built the so-called Gök Medrese in 1277.Founded as a hospital and medical school, the building now houses a museum.