Deputy judiciary chief Gholamhossein Mohseni Ejeie, shown in March 2017, announced that a US citizen accused of "infiltration" in Iran had been sentenced to 10 years in prison

A Chinese American accused of "infiltration" in Iran has been sentenced to 10 years in prison, local media reported on Sunday.

The man was identified as Xiyue Wang, a 37-year-old researcher at Princeton University, according to Mizanonline, the official news agency of Iran's judiciary.

Wang, who was born in Beijing according to the report, was arrested on August 8, 2016 while trying to leave the country.

Mizanonline said he was part of "an infiltration project" aimed at gathering "highly confidential articles" for several US and British institutions, including Princeton, the US State Department, Harvard's Kennedy School and the British Institute for Persian Studies.

"Before his arrest he was able to digitally archive 4,500 pages of the country's documents, while under covert surveillance," said Mizanonline.

The confidential documents were said to be taken from "research and cultural archives" and "the libraries of some state organisations".

Mizanonline published an excerpt from a British Institute of Persian Studies annual report, in which Wang thanked its librarian for helping him make contact with academics in Iran.

The report claimed this as "proof" Wang was on a covert mission, although the quote shows Wang was openly trying to work with academics to access a number of official archives in Tehran and Mashhad.

The US State Department later issued a statement confirming it was "aware of reports regarding Xiyue Wang, a US citizen detained in Iran" -- phrasing that is normally read as a confirmation.

- 'Unjustly detained' -

It added: "We continue to use all the means at our disposal to advocate for US citizens who need our assistance overseas especially for the release of any unjustly detained US citizens held overseas.

"We call for the immediate release of all US citizens unjustly detained in Iran so they can return to their families."

In January, Tehran's chief prosecutor said as many as 70 "spies" were serving sentences in the city's prisons, but the identities of only a handful have been made public.

Most are thought to be Iranians who hold another passport from Europe or the United States.

In October, US-Iranian business consultant Siamak Namazi and his 80-year-old father Baquer, a former UNICEF official, were given 10 years in prison for "espionage and collaboration with the American government".

Washington has repeatedly called for their release and also for Tehran's cooperation in the case of Robert Levinson, a former FBI agent who disappeared in Iran in 2007.

The news comes amid tensions between the two countries as President Donald Trump and Congress have taken increasingly harsh positions against Tehran.

Trump has promised to tear up the 2015 nuclear deal struck between Iran and world powers including the United States that lifted some sanctions in return for curbs on Tehran's nuclear programme.

In mid-June, the American Senate backed new sanctions against Iran, denouncing the Islamic republic's "continued support of terrorism". The bill must be passed by the House of Representatives.

The new restrictions impose mandatory sanctions on people involved with Iran's ballistic missile programme and those that transact with them.

Iran has vowed to respond with "reciprocal and adequate measures".