Outside the years 1999 to 2009, when he headed the judiciary, Shahroudi served from 1995 until his death as member of the Guardian Council, the powerful conservative watchdog that ensures the Islamic consistency and compatibility of parliamentary legislation and electoral candidates alike. He was likewise in the Assembly of Experts, a clerical body that selects the supreme leader’s successor, and a member of the Expediency Council, created toward the end of the Iran-Iraq War to adjudicate disagreements between parliament and the Guardian Council; this council subsequently also began advising the supreme leader on the broad contours of policy and strategy. After the 2017 death of its chairman—Akbar Hashemi Rafsanjani, a highly influential former president—Khamenei tapped Shahroudi as his replacement. Shahroudi was therefore clearly a figure Khamenei could rely on, a figure the supreme leader recently eulogized as a “faithful executor in the Islamic Republic’s most important institutions.”