A judge in Iran has sentenced a US-Iranian man to death for spying for the CIA, officials and media said on Monday, exacerbating Tehran-Washington tensions already high in the face of Western sanctions on the Islamic republic's nuclear programme.
Amir Mirzai Hekmati, a 28-year-old former Marine born in the United States to an Iranian family, was "sentenced to death for cooperating with a hostile nation, membership of the CIA and trying to implicate Iran in terrorism," the judge in Tehran ruled, the Fars and ISNA news agencies reported.
Hekmati has 20 days to appeal, ISNA quoted chief prosecutor Gholam Hossein Mohseni Ejei as saying, without specifying when the sentence was handed down.
The accused was shown on state television in mid-December saying in fluent Farsi and English that he was a Central Intelligence Agency operative sent to infiltrate Iran's intelligence ministry.
He had been arrested months earlier.
Iranian officials said his cover was blown by agents for Iran who spotted him at the US-run Bagram military air base in neighbouring Afghanistan.
But Hekmati's family in the United States told US media he had travelled to Iran to visit his grandmothers and insisted he was not a spy.
In his sole trial hearing, on December 27, prosecutors relied on Hekmati's "confession" to say he tried to penetrate the intelligence ministry by posing as a disaffected former US soldier with classified information to give.
The United States has demanded Hekmati's release.
The State Department said Iran did not permit diplomats from the Swiss embassy -- which handlesWashington's interests in the absence of US-Iran ties -- to see Hekmati before or during his trial.
The death sentence comes after the case of three other Americans who were held in Iran on spying charges after hiking in 2009 along the unmarked Iran-Iraq border. All three were eventually released, one in 2010 and the other two in September 2011, despite being sentenced to eight years in prison.
Hekmati's case, though, comes as the temperature rises between Tehran and Washington over US-led moves to hit Iran's oil exports as part of new sanctions to be imposed over its controversial nuclear programme.
Last month, Iran showed off what it said was a CIA drone it captured using cyberwarfare.
It also said Sunday it had arrested an unspecified number of "spies" who allegedly sought to carry out US plans to disrupt parliamentary elections in March.
The suspects were not identified by name or nationality and, as with numerous previous similar announcements, the accusation was not publicly substantiated.
Washington, for its part, said in October it thwarted a plot allegedly hatched in Tehran to assassinate the Saudi ambassador. President Barack Obama last month also signed into law new sanctions targeting Iran's central bank.
The United States and its allies accuse Iran of seeking a nuclear weapons capability.
Iran, though, insists its programme is exclusively for peaceful ends.
It has threatened to close the strategic Strait of Hormuz at the entrance to the Gulf -- a chokepoint for 20 percent of the world's oil -- if it is threatened militarily or by sanctions.
US Defence Secretary Leon Panetta warned on Sunday that any such move would cross a "red line" and "we would take action and reopen the strait."
He told CBS television that while the United States does not believe Iran is actively developing an atomic bomb, it was "trying to develop a nuclear capability."
"That's what concerns us. And our red line to Iran is do not develop a nuclear weapon. That's a red line for us," he said.