Two nephews of Venezuela’s first lady were convicted in Manhattan on Friday of conspiring to transport cocaine to the United States.

Efrain Antonio Campo Flores and his cousin Franqui Francisco Flores de Freitas, nephews of the first lady Cilia Flores, were found guilty by a jury in Federal District Court. Ms. Flores is the wife of the Venezuelan president, Nicolás Maduro.

The verdict came after less than a day of deliberation, The Associated Press reported.

The two were arrested in November 2015 in Haiti and charged with conspiring to transport more than 1,700 pounds of cocaine to the United States.

Mr. Flores, 30, and Mr. Flores de Freitas, 31, face sentences of 10 years to life in prison.

A defense lawyer told the jury on Thursday that the men should be acquitted because a federal sting operation was so flawed that prosecutors had to take the rare step of notifying their star witness that they were tearing up his cooperation deal because of his lies, The A.P. reported.