An Iranian court confirmed the death sentence for an Iranian man convicted of spying for the CIA.

An Iranian court confirmed the death sentence for an Iranian man convicted of spying for the CIA.

According to state media, Amir Rahimpour “earned a lot of money” from the CIA in exchange for information on Iran’s nuclear program.

“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. Rahimpour “had been identified and prosecuted and sentenced to death and recently, the country’s National Supreme Court confirmed the sentence and, God willing, he will be punishéd soon.”

The CIA did not immediately respond to a request for comment.

Esmaili said two other alleged spies for the CIA each received 15-year prison sentences — 10 years for spying and five years for acting against national security charges.

Esmaili did not name those arrested, only saying they worked in the “charitable field,” without elaborating.

He was hanged in August 2016, the same week that Tehran executed a group of militants and a year after Iran agreed to a landmark accord to limit uranium enrichment in exchange for the lifting of economic sanctions.

Tensions remain high between Iran and the U.S. since President Donald Trump unilaterally withdrew America from Tehran’s nuclear deal. A U.S. drone strike in January killed Iranian Revolutionary Guard Gen. Qassem Soleimani in Baghdad, a targeted killing that prompted Tehran to launch a retaliatory ballistic missile strike on Iraqi bases housing American troops.

Before the deal, a computer virus believed to be designed by the U.S. and Israel destroyed Iranian centrifuges. Meanwhile, Iranian nuclear scientists were targeted in a series of assassinations