A Chinese-American student from Princeton University has been arrested and sentenced to 10 years in prison by an Iranian court on charges of espionage, according to multiple reports.

Princeton identified the man as Xiyue Wang, a fourth year graduate student of history at the university.

The Iranian court convicted him of being an infiltrating American agent and said he was gathering “confidential articles” to send to the State Department and Western academic institutions, according to the Washington Post.

ReadIran News: Khamenei Wants Ballistic Missile Program Expansion

Judiciary spokesman Gholamhosein Mohseni Ejehi did not identify Wang by name or nationality but said one of “America’s infiltrators” had been prosecuted. Mizan Online, a news agency affiliated with the Iranian judiciary, later identified 37-year-old Wang.

Reports said Wang was researching in Iran for his doctoral thesis on the administrative and cultural history of the late Qajar dynasty and had been missing for some months. The announcement of the arrest Sunday was the first official confirmation by Iran, although he is believed to have been arrested last August. The New York Times quoted a report by Mizan Online which said Wang pursued espionage “through the cover of being a researcher."

Mizan Online claimed Wang had digitally archived 4,500 pages of top secret Iranian documents and conducted confidential research for the U.S. Department of State, Harvard's Kennedy School, British Institute of Persian Studies, and Princeton’s Sharmin and Bijan Mossavar-Rahmani Center for Iran and Persian Gulf Studies. He was also accused of having connections with American and British intelligence agencies. The allegations were based on an anonymous “informed source,” Mizan Online said.

According to CNN, Wang was raised in China and earned a bachelor's degree in South Asian studies from the University of Washington. He also studied Russian and Eurasian studies at Harvard University, according to a biography of Wang from Princeton in Asia program, where he did a fellowship from 2008 to 2009.

"What he does know is that his dream is to walk the ancient Silk Road from Xi'an to Rome one day,” the biography read. It also revealed that he loved learning languages.

After reports of his sentence, Princeton in a statement said it already knew of Wang’s arrest, adding: “Since his arrest, the university has worked with Mr. Wang’s family, the U.S. government, private counsel and others to facilitate his release."

The State Department also reacted strongly and called for immediate release of all U.S. citizens in jails in Iran.

ReadIran’s Revolutionary Guard Blames Donald Trump’s Saudi Arabia Visit For Tehran Terror Attacks

“The Iranian regime continues to detain US citizens and other foreigners on fabricated national-security related changes,” a press statement by the State Department said, reported CNN. “The safety and security of U.S. citizens remains a top priority. All U.S. citizens, especially dual nationals considering travel to Iran, should carefully read our latest travel warning.”

Princeton also stated: “We were very distressed by the charges brought against him in connection with his scholarly activities, and by his subsequent conviction and sentence. His family and the university are distressed at his continued imprisonment and are hopeful that he will be released after his case is heard by the appellate authorities in Tehran.”