The Mexican drug kingpin Joaquin “El Chapo” Guzman was sentenced Wednesday to life behind bars in a U.S. prison, a humbling end for a drug lord notorious for his ability to kill, bribe or tunnel his way out of trouble.

A federal judge in Brooklyn handed down the sentence, five months after Guzman’s conviction in an epic drug-trafficking case.

The 62-year-old drug lord, who had been protected in Mexico by an army of gangsters and an elaborate corruption operation, was brought to the U.S. to stand trial after he twice escaped from Mexican prisons.

Guzman, sporting his trademark moustache after being clean-shaven during his trial, spoke in court Wednesday for what may be the last time the public hears from him. Prior to his sentencing, he complained about the conditions of his confinement and told the judge he was denied a fair trial. He said U.S. District Judge Brian Cogan failed to thoroughly investigate claims of juror misconduct.