It dates from 1309 and was built as a mental hospital by Ilduş Hatun, wife of the Iklhanid sultan Olcaytu. It may have been the first place where one tried treating people with mental disorders using music. It is built on the plan of a Seljuk medrese.