In 1909, he entered politics as a member of Majlis (Parliament), representing Tehran. He subsequently became speaker of the house and later minister in several cabinets as well as prime minister three times and once as the acting prime minister when Reza Khan resigned as prime minister to take up the crown as Reza Shah. In 1912, he became the president of the Supreme Court. Later he was appointed prime minister and dismissed in 1935 due to the father of his son-in-law’s, Muhammad Vali Asadi, alleged participation in the riot in Mashhad against the reforms implemented.