The Birmahane Medresesi was built in 1308 as a lunatic asylum where music was used in order to pacify the inhabitants. Later this became a music school. Amasya.