http://www.npr.org/sections/thetwo-way/2017/04/12/523558079/irans-ahmadinejad-will-run-for-presidency-flouting-ayatollahs-advice[quote]Mahmoud Ahmadinejad has registered to run for his third term as Iran's president, putting a jolt into next month's elections. He's the latest hardline challenger to emerge against President Hassan Rouhani, declaring his candidacy in a move that caught many by surprise.
Khamenei has said he told Ahmadinejad not to seek a third term "both for his own and the country's good," as the Tehran Times reports.
But Ahmadinejad said today that he interpreted that statement not as an order, but as advice. The Times quotes two Iranian political analysts who say they don't think Ahmadinejad's candidacy will be accepted; such a rejection could bring protests and would deepen a rift between Khamenei and Ahmadinejad that's been traced as far back as 2007.