He has served in several positions in Iran’s judicial system, such as Attorney General (2014 to 2016), and Deputy Chief Justice (2004 to 2014). He was also Prosecutor and Deputy Prosecutor of Tehran in the 1980s and 1990s. He was Custodian and Chairman of Astan Quds Razavi, a bonyad, from 2016 until 2019.