The public announcement is the latest salvo in Iran's dispute with the United States, which ratcheted up after President Trump abandoned an global nuclear deal and reimposed sanctions on Iran in 2018.
Iran said in July it had sentenced to death several citizens accused of spying on Iran's military and nuclear program as part of a CIA-trained network.
"Amir Rahimpour who spied for the CIA and received huge amounts of money and attempted to provide the USA intelligence service with a part of Iran's nuclear information was tried and had been sentenced to death", judiciary spokesman Gholam Hossein Esmayeeli said at a news conference in Tehran, according to Iran's semiofficial FARS News Agency.
"Recently the country's Supreme Court upheld the death sentence of the American spy and, God willing, he will be punished for his actions soon", the spokesman added.
The names of the individuals would not be released yet because the sentence has not been finalized, the spokesman said.
"While being in touch with the spy agency, he earned a lot of money as wages as he tried to deliver some information from Iran´s nuclear program to the American agency", the IRNA report said.
Jay-Z and Beyoncé blasted for sitting during national anthem
The "past kneeling" comment is a reference to what Jay said last summer about protesting: "I think we've moved past kneeling". However, not many fans were probably aware that, on Sunday, Lovato also fulfilled a goal she set for herself 10 years ago.
The CIA did not immediately respond to a request for comment.
"Two. CIA spies who were working under the cover of an organisation and charitable foundation have been identified, tried and sentenced to ten years in prison for spying and five years in prison for acting against national security", Gholamhossein Ismaili said.
Iran executed alleged United States spy Shahram Amiri in 2016.
Last April, Intelligence Minister Mahmoud Alavi announced his agency had disrupted CIA operations by identifying 290 spies operating in Iran and other countries. When he returned in 2010, he was welcomed by government leaders and even went on the local talk-show circuit before mysteriously disappearing. President Trump tweeted: "The Report of Iran capturing Central Intelligence Agency spies is totally false".
He was awaited August 2016, the very same week that Iran implemented a team of militants as well as a year after the nation concurred to a site accord to limitation uranium enrichment in exchange for the training of financial permissions. Tensions between Washington and Tehran are especially high at the moment over the assassination of Iranian General Qassem Soleimani, who was long responsible for anti-American efforts in Iraq.