In Sept. 2016, local media quoted Iran's Supreme Leader as saying that "I do not find it advisable that you (Ahmadinejad) participate" in the next presidential elections.
Baghaei held the post of vice president for executive affairs under Ahmadinejad.
In 2011, Ayatollah Khamenei was so annoyed by Mr Ahmadinejad's hunger for more power that he floated a proposal to change Iran's constitution to do away with a directly elected presidency altogether, an idea Mr Ahmadinejad briskly dismissed as "academic".
Mr Rouhani, who engineered Iran's 2015 nuclear deal with world powers that secured a removal of global financial and trade sanctions against Tehran, is expected to seek re-election.
Two of his former vice presidents have been jailed for corruption since he left office.
Ahmadinejad was known during his two terms in office as a hardliner who pushed forward Iran's nuclear program despite global opposition.
Also, under his administrations, Iran's worldwide ties were brought to an unprecedented low point and the country's nuclear dossier escalated into a drawn-out diplomatic impasse, resolved peacefully in 2015 under the Rouhani administration.
Internationally, Ahmadinejad is more known for repeatedly questioning the scale of the Holocaust, predicting Israel's demise and expanding Iran's contested nuclear program. Registration remains open until Saturday. The council is typically responsible for disqualifying the majority of registrants for making it to the final candidates list.
Wisconsin churches on alert amid hunt for gun theft suspect
More than 150 law enforcement officers were searching for 32-year-old Joseph Jakubowski, said Rock County Sheriff Robert Spoden. It was unclear if Jakubowski, who according to local media was unemployed, remains in Wisconsin or if he had left the state.
On Tuesday, Iran's Interior Minister Abdolreza Rahmani Fazli announced registration of candidates for Iran's 12th presidential race in capital Tehran.
Reactions of worry were quick to spread, as Raisi is an influential cleric with a close relationship with Khamenei.
The election on 19 May is being seen by many in Iran as a referendum on the 2015 nuclear agreement with world powers and its ability to improve the country's sanctions-hobbled economy. The benefits have yet to trickle down to the average Iranian, however, fueling some discontent.
It will also be damaging to President Rouhani - especially with poorer voters who have yet to feel the effects of promised economic improvements following the nuclear deal, and could be swayed by Mr Ahmadinejad's populist rhetoric and promises to bring back subsidies to help people cope with inflation.
"He will go until the end", Javanfekr said.
"I registered merely to support Baghaei and I will act according to the [supreme] leader's advice", he said.
"It was very weird, but it could be entertainment for people", 31-year-old nurse Roya Khani said.