Mohammad Shah Qajar
Mostowfi al-Mamalek came from an important aristocratic and well-known family of high-ranking bureaucrats during the Qajar era, originally from the province of Ashtian. The family are said to have their origins with the Safavids. Mostowfi's father was Mirza Yousof Mostowfi al-Mamalek, a bureaucrat of the Qajar court, Nasseraddin Shah's grand vizier and a Prime Minister. His father was also assigned to determine the new reaches of Tehran city when the population reached 150000. His grandfather was Mirza Hasan Mostowfi al-Mamalek I and was given the title of Mostofi al Mamalek under Mohammad Shah Qajar. Mostowfi was also second cousins with Mohammad Mossadegh.