Khamenei was forced to use his authority to support the president, and has since repeatedly condemned the “Green Movement” that opposed Ahmadinejad’s re-election. As a result, Ahmadinejad has been the most costly president for Khamenei to date, because he forced the Supreme Leader to deplete his power in the face of a common enemy – a move that called into question his own judgment and tarnished his reputation.