Chahar Bagh School or Madrasa Madar-i-Shah (Shah Mother’s School), the construction was built during Soltan Hossein (16-17th century), a Safavid king, to serve as a theological and clerical school to train those who were interested in such sciences. In order to finance the school, Soltan Hossein’s mother had a large caravansary built nearby, the income of which went to the foundation.