Rafsanjani and Mashaei
Along with Mr Rafsanjani, Esfandiar Rahim Mashaei, a close ally of outgoing President Mahmoud Ahmadinejad, has also been excluded by the Guardian Council, state TV reported. The Guardian Council is loyal to Supreme Leader Ayatollah Ali Khamenei.
Only eight of the 686 people who registered as potential candidates were reportedly cleared to stand. The eight candidates approved by the 12-member body of theologians and jurists are all considered hardliner conservatives with close links to Iran's ruling clerics.
The eight candidates include the country's main nuclear negotiator, Saeed Jalili, former nuclear negotiator Hassan Rohani, former foreign minister Ali Akbar Velayati, and the mayor of Tehran, Mohammad Baqer Qalibaf.