Iranian leaders
Ayatollah Ali Khamenei, left, greets former judiciary chief Ayatollah Mahmoud Hashemi Shahroudi as President Mahmoud Ahmadinejad sits at center during a religious ceremony in Tehran in a photo released by the office of the Iranian supreme leader. (Associated Press / May 22, 2011)
Supreme leader Ayatollah Ali Khamenei wanted to send his onetime protege Mahmoud Ahmadinejad an unmistakable message: You're replaceable.

The Iranian president had been skipping Cabinet meetings, apparently over Khamenei's decision to overrule his firing of the country's intelligence chief. So Khamenei asked a conservative lawmaker to begin assembling a caretaker Cabinet, just in case the president resigned or had to be removed, said an Iranian official close to the politician.

Ahmadinejad eventually returned to work. But he also had a message for Khamenei: I can still make a big mess.

He recently defied the nation's constitutional watchdog, and Khamenei, by launching a drastic restructuring of the country's government and naming himself caretaker minister of the country's vast oil and gas resources, saying, "The president has the authority to replace ministers and be the caretaker himself." But on Friday he was overruled again, by the country's powerful Guardian Council.

The eyebrow-raising dispute between Ahmadinejad's camp and the conservative clerical and political class is rippling across the world — and igniting concern inside Iran that it weakens the country's ability to project power internationally at a moment of historic instability across the region.

Ahmadinejad and the conservative factions, which have long been suspicious of the president's populist politics and anticlerical religious attitudes, are skirmishing feverishly over the country's future, positioning themselves for survival once the frail, 71-year-old Khamenei dies.

Ahmadinejad has embarked on nothing short of a program to reinvent the Islamic Republic, adding touches of fiery nationalism and a version of evangelical Islam to the country's identity. But his populist giveaways and talk of impending apocalypse threaten not only economic interests and the traditional power of the clergy but Khamenei himself.

The supreme leader, his allies and other factions want to keep Ahmadinejad in check as he seeks to expand his powers and build a political future for himself beyond the constitutionally mandated end of his second term in 2013.

They've tried a number of ways to clip his wings, including charging members of his entourage with sorcery and accusing the president himself of being bewitched by his controversial chief of staff, Esfandiar Rahim Mashaei, whom they describe as leading a "pervert current" within the leadership.

This season of open political warfare within Iran's political establishment isn't likely to destabilize a regime born with deep factional cracks 32 years ago. But even officials inTehran have warned in repeated public statements that the infighting may deepen rifts that could be exploited by rivals abroad.

"It's an indication that the regime is in a lot of trouble," said Alireza Nader, an Iran expert at Rand Corp. "It can't handle the internal and external pressure. There are people in the country who can't agree what to do about the future of the country, so they're at each other's throats."

The crisis highlights the undemocratic warts of Iran's political system just as a pro-democracy wave has swept across the Middle East. It has also embroiled figures within the highest levels of the country's national security establishment, an unwelcome domestic political distraction for Iranians seeking to fend off pressure over the country's nuclear program and extend its influence across the region.

Ahmadinejad falls into the mold of ambitious populist politicians as varied as Andrew Jackson andHugo Chavez, trying to use his presidential pulpit to launch vast social changes and make his mark. But he's stifled by entrenched political, military and economic interests in the clergy, political establishment, business world and armed forces — all rallying around Khamenei — who want to limit his future, which for now looks grim.

Ahmadinejad is not going down quietly. Much to their chagrin, Khamenei and allies who brought Ahmadinejad to power now find themselves the target of the same ruthless and confrontational tactics he has used against the country's reformists and its international enemies.

"This is his character," said professor Mahjoob Zweiri, an Iran expert at Qatar University in Doha. "He was not able to change that attitude when it came to conservatives. This is something in his blood. This is something in his nature."

Iran's powerful conservative establishment hailed Ahmadinejad when he was serving as a distracting lightning rod on the international scene and taking on its reformist enemies. It rallied behind him after his disputed 2009 reelection, when people poured into the streets to protest voting irregularities.

Analysts abroad and officials in Tehran, mostly speaking on condition of anonymity in a series of conversations in recent weeks, say the country's elite may now rue the day Ahmadinejad was elected.

"He's a hooligan and he proceeds in his projects by being extremely rude and ignoring everyone else," said Mehdi Khalaji, an Iran expert at the Washington Institute for Near East Policy.

Analysts say intense mistrust between the factions ahead of 2012 parliamentary elections and the 2013 presidential election led to the alleged electronic surveillance of Mashaei's office that caused Ahmadinejad to fire the intelligence chief and escalate tensions within the political establishment.

Ahmadinejad's conservative rivals strongly suspect the president plans to pull some stunt in coming months, such as increasing populist cash giveaways or raising fuel subsidies, to bolster his popularity, or make those who block him look like entrenched elitists.

"The pervert current is busy right now preparing for the election campaign and has utilized remarkable facilities to achieve its goal," Mohammad Nabi Habibi, secretary-general of the Islamic Coalition Party, one of the bastions of traditional power in Iran, was quoted as saying in a conservative newspaper, Farhikhtegan. "From a canonical and legal perspective, their goals and the means to achieve them are open to question."

Khamenei's request to lawmaker Mohsen Rezai to begin assembling a Cabinet was probably an attempt to play on the rivalry between the two men, who ran against each other in 2009. During Ahmadinejad's absence from work, state television also showed Tehran Mayor Mohammed Baqer Qalibaf, another intense rival of Ahmadinejad, paying a visit to Khamenei.

"The main aim was to frighten Ahmadinejad and to get him back to his office," said an official close to Rezai's camp, who spoke on condition of anonymity.

In part, Ahmadinejad is an all-too-ordinary politician trying to carve out a niche in an extraordinary political system that grants presidents little power in the face of the supreme leader. Both his predecessors, Ali Akbar Hashemi Rafsanjani and Mohammad Khatami, were eventually sidelined after their terms were up.

"When you don't have real power, you plot for a while and then fade away," Khalaji said. "Ahmadinejad's political life is over, and he and his allies will have very little chance in the next two elections."

According to one story circulating in Tehran, so riled were Ahmadinejad's rivals by his antics that a Revolutionary Guard commander threatened to pull the curtain on his disputed 2009 reelection, which furthered Iran's international isolation and polarized the nation.

"We brought you back to power," the commander supposedly told Ahmadinejad, according to a source in the camp of Rafsanjani, another rival of Ahmadinejad.

"Mr. Daneshjou is our witness," he supposedly added, referring to Kamran Daneshjoo, the former election official accused by reformists of rigging the votes to favor Ahmadinejad.

Ahmadinejad was said to have replied, "Even if Dr. Velayati was in my place as candidate, you would have had to do the same thing to save the system from the pro-Americans."

Ali Akbar Velayati is a former foreign minister and a top advisor to Khamenei.

Many Iran experts inside and outside the country warn that a weakened Ahmadinejad could still make waves.

"The issue with Ahmadinejad is not that he's the type of person who's willing to give up power easily," said Nader, of Rand Corp. "He wants to be part of the leadership, and he's not going to go away."

daragahi@latimes.com

Times staff writer Daragahi reported from Beirut and special correspondent Mostaghim from Tehran.    (source:.latimes.com/news/nationworld/world)
=================================================