This building was the residence of Mohammad Bagher Sabzevari and his wife Sarv Ghad Khanom (one of the daughters of the Safavid court) and the court part of the main building became the center of justice and the religious rule of the country, especially the capital affairs.[138] Six generations of Mohammad Bagher Sabzevari descendants , held the position of Shaykh al-Islām of Isfahan[139] and the last of them was Haj Mirza Ali Akbar Shaykh al-Islam who lived in this house.