ANKARA/NEW YORK (Reuters) - Iran’s foreign minister has warned the United States that failure to agree a nuclear deal would likely herald the political demise of pragmatist President Hassan Rouhani, Iranian officials said, raising the stakes as the decade-old stand-off nears its end-game.

Iran's President Hassan Rouhani listens to a question during a news conference on the sidelines of the 69th United Nations General Assembly at United Nations Headquarters in New York September 26, 2014. REUTERS/Adrees Latif

Mohammad Javad Zarif pressed the concern with U.S. Secretary of State John Kerry at several meetings in recent weeks, according to three senior Iranian officials, who said Iran had also raised the issue with other Western powers. Zarif’s warning has not been previously reported.

In a statement posted on the Iranian Foreign Ministry’s website, Zarif later denied discussing domestic issues with Western officials.

Western officials acknowledged the move may be just a negotiating tactic to persuade them to give more ground, but said they shared the view that Rouhani’s political clout would be heavily damaged by the failure of talks.

The warning that a breakdown in talks would empower Iran’s conservative hardliners comes as the 12-year-old stand-off reaches a crucial phase, with a March deadline to reach a political agreement ahead of a final deal by June 30.

The agreement aims to end sanctions in exchange for curbs on Tehran’s nuclear program, though hard-to-bridge differences remain, particularly on the timing of the relief on economic sanctions and the duration of the deal.

Both U.S. President Barack Obama and Rouhani, who Iranian officials say has staked his career on the deal, are facing stiff domestic opposition to an agreement, narrowing the scope for compromise.

The Iranian officials who spoke to Reuters said Zarif had raised the concern over Rohani’s fate with Kerry. The two men have met repeatedly in recent weeks in an attempt to break the impasse, most recently on Friday when they talked for over an hour on the sidelines of the Munich Security Conference.

“As Rouhani is on the frontline, naturally he will be more harmed,” said one of the officials, who has direct knowledge of Zarif’s discussions with Kerry.

Other Western officials said the Iranian delegation had raised the same concern in talks recently. If the talks fail, Rouhani would likely be sidelined and his influence dramatically reduced, giving hardliners like Iran’s Revolutionary Guard Corps an upper hand, Iranian officials and Western analysts say.

However, a senior U.S. official denied that Zarif had issued any such warning about Rouhani.

“We’ll leave assessment of Iranian politics to the Iranians but this rumor is untrue,” the official told Reuters on condition of anonymity.

The Iranian Foreign Ministry website quoted Zarif as saying: “Domestic issues were never raised with foreign officials during any of the meetings.”

CONFLICTS

A comprehensive nuclear deal is seen as crucial to reducing the risk of a wider Middle East war, at a time when Iran is deeply involved in conflicts in Syria and Iraq. After nearly a year of talks, negotiators failed for the second time in November to meet a self-imposed deadline for an agreement.

Iran rejects allegations it is developing the capability to produce atomic weapons. But it has refused to halt uranium enrichment and other sensitive atomic work, leading to U.S., European Union and U.N. sanctions that have hobbled its economy.

One of the Iranian officials, who also had direct access to the talks, said the Americans were talking in terms of years for the sanctions relief while Iran wanted curbs on oil and banking to be lifted within six months.

Rouhani was elected in 2013 on promises of ending Western sanctions, improving the economy and reducing Iran’s diplomatic isolation.

But he faces a worsening power struggle with Supreme Leader Ayatollah Ali Khamenei, who has said Iran should immunize itself against sanctions, suggesting he is prepared to live with them. Khamenei has the final word on any deal.

Rouhani has said Iran needs to end its isolation to help its economy, which has also been hit hard by plunging oil prices.

Both Israel and Saudi Arabia are suspicious of the U.S. decision to engage with Iran on the nuclear issue. Israel has threatened to use military force against Iranian nuclear sites if diplomacy fails to contain the threat it feels Tehran poses.

The United States, officials familiar with the talks say, has already compromised on the issue of how many centrifuges Iran would be allowed to operate.

Obama could temporarily suspend many of the harshest unilateral U.S. sanctions against Iran but permanent removal would have to be approved by the Republican-controlled Congress, where there is little appetite for sanctions relief.

The Senate is finalizing a bill for tougher sanctions if there is no final nuclear deal by June 30. Obama has vowed to veto any new Iran sanctions bill.

Another Western official said Rouhani appeared to have underestimated the resolve of Washington and Europe to demand limitations on Iranian nuclear activities for a decade or more in exchange for sanctions relief.

“Rouhani thought that by speaking nicely and not calling for Israel’s destruction, Western powers would rush to sign a deal, any deal, with Iran,” the official said. “He miscalculated. The Western powers may also want an agreement but they’re also constrained by Congress, Israel and Saudi.”

Additional reporting by Dan Williams in Jerusalem and John Irish in Paris; Editing by Stuart Grudgings and Gareth Jones