When Ahmadinejad came to power, Rowhani lost his position as the Council’s secretary, but became Khamenei’s personal representative to it – a post that he has held until now. Whether Khamenei seriously planned for Rowhani’s victory, or simply calculated that the cost of preventing it would be too high, Rowhani can serve Khamenei’s agenda at least as well as any other candidate.