A man poses inside a server room at an IT company in this June 19, 2017 illustration photo. REUTERS/Athit Perawongmetha/Illustration

NEW YORK (Reuters) - A Nigerian man on Tuesday pleaded guilty to taking part in email scams attempting to defraud thousands of victims around the world out of millions of dollars, U.S. prosecutors said.

David Chukwuneke Adindu, 29, entered his plea to two conspiracy counts before U.S. District Judge Paul Crotty in Manhattan, according to an announcement from Acting U.S. Attorney Joon Kim in Manhattan.

Prosecutors said Adindu took part in scams in which emails were sent impersonating executives or vendors of companies, directing employees of those companies to make large wire transfers. Such scams are known as “business email compromise.”

Adindu, who was arrested at a Houston airport last year, is scheduled to be sentenced on Sept. 26. The more serious of the two counts carries a maximum sentence of 20 years, while the other carries a maximum sentence of 15 years.

Lawyers for Adindu could not immediately be reached for comment.

Prosecutors said in an indictment last year that Adindu, who during the period in question resided in both Guangzhou, China and Lagos, Nigeria, worked with others to carry out business email compromise scams from 2014 to 2016.

Prosecutors said the scammers’ targets included an unnamed New York investment firm, where an employee received an email claiming in June 2015 to be from an investment adviser at another firm asking for a $25,200 wire transfer.

The employee later learned the email was not actually sent by that adviser, and as a result did not comply with a second wire transfer request for $75,100, according to the indictment.

The case is U.S. v. Adindu, U.S. District Court, Southern District of New York, No. 16-cr-00575.