Pictures of the head of the Beltran Leyva drug cartel Hector Beltran Leyva are seen displayed on a television screen during a news conference at the Attorney General's Office building in Mexico City October 1, 2014, in this handout courtesy of the office. REUTERS/Attorney General's Office/Handout via Reuters

MEXICO CITY (Reuters) - A Mexican court has blocked efforts by the foreign ministry to extradite jailed drug lord Hector Beltran Leyva to the United States, judicial authorities said on Wednesday, just a few months after top kingpin Joaquin “El Chapo” Guzman was sent north.

The Mexico City court granted Beltran Leyva, one of Mexico’s most-wanted drug lords until his capture in 2014, an injunction in his appeal against extradition due to technicalities involving a failure to follow due process.

In a statement, Mexico’s federal judicial authorities said the case would return to the original judge, who would begin the process afresh. Beltran Leyva remains locked up in the same high-security prison just outside Mexico City that Guzman escaped from through a mile-long tunnel in 2015.

The Beltran Leyva gang, which was linked to Guzman’s Sinaloa Cartel until 2008, was one of Mexico’s biggest drug smuggling organizations. But many of its key members are now either dead, behind bars in Mexico or serving time in the United States.

In January, just before U.S. President Donald Trump took office, Guzman was extradited to New York, in a deft move that served to please outgoing leader Barack Obama and his successor.