ihe building was used as a medresa, an institution for religious education, until 1869. it was occupied by the victims of the 1918 fire. duringtrhe republican era (aftr 1923), the building served in the beginning as orphanage, and after 1966 as