But now Ahmedinejad’s opponents are moving to reassert longstanding constraints on the presidency. His foremost rival, Akbar Hashemi Rafsanjani, a former president who Ahmedinejad defeated to win the post, has had a remarkable reversal of fortune, reemerging as leader of the Assembly of Experts, the powerful body that elects Iran’s Supreme Leader and that can even remove a Supreme Leader from office.