Former Honduran President Juan Orlando Hernández took the witness stand in his defense at his New York trial on Tuesday, denying that he teamed up with drug dealers to protect them in return for millions of dollars in bribes.

His testimony in Manhattan federal court came after several days of testimony by drug cartel traffickers who are hoping to earn leniency from long prison sentences in exchange for their cooperation against him. They claimed he protected the drug trade in return for millions of dollars that helped fuel his rise to power.

Prosecutors say Hernandez, who served as president from 2014 to 2022, used his Central American nation’s military and police to help drug dealers move cocaine through the country on its way to America. In the U.S., he was often viewed by Democratic and Republican administrations as beneficial to American interests in the region.

FORMER HONDURAN NATIONAL POLICE CHIEF PLEADS GUILTY TO DRUG TRAFFICKING IN MAJOR BLOW TO EX-PRESIDENT

Hernandez denied helping drug traffickers or accepting bribes and cast himself as a crusader against drug trafficking who did everything he could to help the United States in its pursuit of drug dealers, including by extraditing about two dozen individuals.

Juan Orlando Hernández

FILE - In this courtroom sketch from federal court in New York, Tuesday, Feb. 20, 2024, former Honduran President Juan Orlando Hernández, seated center at the defense table, turns to looks at prospective jurors during the jury selection process at the start of his trial. Hernández took the witness stand in his defense at his New York trial on Tuesday, March 5, denying that he teamed up with drug dealers to protect them in return for millions of dollars in bribes. (Elizabeth Williams via AP, File)

"I said any request of extradition by the United States was to be granted," Hernandez said.

Hernandez was asked by a defense lawyer whether he ever accepted bribes or offered protection to several drug cartels or drug traffickers mentioned repeatedly at the trial that began two weeks ago.

He insisted he did not.

And, in regards to one witness who testified that he trafficked in tens of millions of dollars' worth of drugs while Hernandez served as a mayor in Honduras, Hernandez said he did not promise to protect him from prosecution if he agreed not to run for another term as mayor amid headlines outing him as a drug dealer.

"Never," Hernandez said through an interpreter.

At one point, he was asked if one cartel wanted to assassinate him.

"I was warned of that by the FBI, sir," he responded.

The ex-president’s brother, Juan Antonio "Tony" Hernández, a former Honduran congressman, was sentenced in 2021 in Manhattan federal court to life in prison for his own conviction on drug charges.

Prosecutors say Tony Hernández secured and distributed millions of dollars in bribes from 2004 to 2019 from drug dealers for his country’s politicians, including $1 million from notorious Mexican capo Joaquin "El Chapo" Guzman for Juan Orlando Hernández.

CLICK HERE TO GET THE FOX NEWS APP

The former president was arrested at his home in Tegucigalpa, the Honduran capital, in February 2022 — just three months after leaving office — and was extradited to the U.S. in April of that year.