MEXICO CITY -- A Mexican judge on Monday acquitted a former drug czar who was charged with organized crime after he allegedly accepted $450,000 to leak details of police operations against members of the Pacific cartel, an alliance once led by the Sinaloa drug cartel.
Noe Ramirez was Mexico's top anti-drug prosecutor and the highest-ranking law enforcement official detained in 2008 as part of then President Felipe Calderon's sweeping effort to weed out corrupt officials with ties to organized crime.
A federal judge in western Nayarit state, where Ramirez has been held at a maximum security prison, ordered his release after determining that the main witness in the case lied and prosecutors might have fabricated evidence, the country's Federal Judiciary Council said in a statement.
"Regarding the main witness, an informant codenamed `Jennifer,' it was shown that he acted with dishonesty, as it became clear that he lied when he gave his statements," the council said.
It said the judge found that there were high-level officials at the anti-drug prosecutors' office who were in collusion with organized crime but that there was no evidence Ramirez was part of that network.
Ramirez was one of five top officials detained as part of Calderon's "Operation Clean House." He had been named assistant attorney general for organized crime in 2006 when Calderon took office, and resigned four months before his arrest.
The previous highest-ranking official arrested was Gen. Jesus Gutierrez Rebollo, then head of Mexico's anti-drug agency, who was detained in 1997 and later convicted of aiding deceased drug lord Amado Carrillo Fuentes.
Calderon's efforts to weed out corrupt officials suffered major setbacks after judges declared there was not enough evidence in many of the cases that were mainly based on testimony from witnesses, many of them informants under police protection.
In the most dramatic case, 10 mayors and 18 other top officials in Michoacan state were detained by federal authorities and charged with aiding La Familia drug cartel, but all were eventually released for lack of evidence.
This shows "that the information coming from these witnesses is not verified," said Samuel Gonzalez, Mexico's former top anti-drug prosecutor. "This is a vice seen in the last few years, this is (proof) of the poor handling of protected witnesses."
An official at the federal Attorney General's Office said prosecutors were analyzing the judge's decision and had not yet decided whether to file an appeal.
"We're very respectful of the judicial branch decisions and we'll analyze the situation," said the official, who spoke on condition of anonymity because he's not authorized to talk to the media.
Associated Press writer Mark Stevenson contributed to this report.
Also on HuffPost:
Oct 9, 2012
Marines say they have killed the leader of the brutal Zetas drug gang, Heriberto Lazcano, alias "The Executioner," in a shootout. <em>Caption: This photo released by Mexico's Navy on Tuesday, Oct. 9, 2012 allegedly shows the body of Zeta drug cartel leader and founder Heriberto Lazcano while in the possession of Mexico's Medical Forensic Service (SEMEFO) in Sabinas, Mexico. (AP Photo/Mexico Navy)</em>
Oct 4, 2012
The son of the former chairman of Mexico's Institutional Revolutionary Party is found dead. <em>Caption: In this Oct. 15, 2007, photo, Jose Eduardo Moreira Rodriguez poses for photographers in Saltillo, Mexico. (AP Photo/Alberto Puente)</em>
Sept 4, 2012
Mexico captures a leader of the country's Gulf Cartel, Mario Cardenas, alias "Fatso." <em>Caption: Mexican Navy officers flank Mario Cardenas Guillen, also known as "El Gordo" and "M-1," during his presentation to the media in Mexico City, Tuesday, Sept. 4, 2012. (AP Photo/Alexandre Meneghini)</em>
Aug 24, 2012
Mexican police shoot and wound two U.S. Embassy employees, whom sources later identify as CIA operatives, just south of Mexico City. <em>Caption: In this Aug. 24, 2012, file photo, an armored U.S. embassy vehicle is checked by military personal after it was attacked by unknown assailants on the highway leading to the city of Cuernavaca, near Tres Marias, Mexico. (AP Photo/Alexandre Meneghini, File)</em>
August 14, 2012
Armed men storm a bar in Monterrey, killing eight men in a hail of bullets, in an apparent dispute over drug dealing. <em>Caption: Police forensic investigation vehicles sit parked outside Matehuala Men's Club after a shooting inside the night club in Monterrey, Mexico, early Tuesday Aug. 14, 2012. (AP Photo)</em>
May 13, 2012
Suspected drug gang hitmen dumped 49 mutilated bodies, stuffed in bags, on a highway outside the northern industrial city of Monterrey. <em>Caption: Federal police stand guard on a vehicle behind a forensic truck containing bodies found on the highway connecting the northern Mexican metropolis of Monterrey to the U.S. border, along the Reynosa-Cadereyta road, in the town of San Juan near the city of Monterrey, Mexico, Sunday, May 13, 2012. (AP Photo/Christian Palma)</em>
May 4, 2012
The bodies of nine people were found hanging from a bridge and 14 others found dismembered in the city of Nuevo Laredo, just across the U.S. border from Laredo, in Texas. <em>Caption: Four of nine corpses are seen hanging from a bridge in the Mexican border city of Nuevo Laredo, Tamaulipas state, early morning on May 4, 2012. (RAUL LLAMAS/AFP/GettyImages)</em>
Feb 19, 2012
A fight between rival gangs at a prison just outside Monterrey in northern Mexico leaves 44 dead. <em>Caption: Araceli Guevara Ontiveros, the sister of Francisco Guevara Ontiveros --one of the 44 dead in a riot at The Apodaca prison-- is comforted while crying on his coffin during his wake in Monterrey, Nuevo Leon state, on February 21, 2012. (Julio Cesar Aguilar/AFP/Getty Images)</em>
Nov 24, 2011
More than 20 bodies are found in cars in Mexico's second city, Guadalajara, a day after the burned bodies of 16 people are found in the home state of the country's powerful drug lord, Joaquin "Shorty" Guzman. <em>Caption: A member of the forensic service carries one of the 26 corpses found this morning in three vehicles abandoned in Mexico's second most populous city of Guadalajara, Mexico, on November 24, 2011. (HECTOR GUERRERO/AFP/Getty Images)</em>
Oct 6, 2011
Mexican security forces find 32 bodies at several locations around Veracruz, just two days after the government unveiled a plan to bolster security in Veracruz state. <em>Caption: Mexican army soldiers walk towards their vehicle after seven bodies were found inside a vehicle in the Gulf port city of Veracruz, Mexico, late Friday Oct. 7, 2011. (AP Photo/Felix Marquez)</em>
Sept 20, 2011
Thirty-five bodies are found abandoned in two trucks on an underpass in the eastern Gulf city of Veracruz, which had been largely untouched by the violence. <em>Caption: Mexican marines stand guard in streets of Veracruz State, Mexico on 24 January 2012. (JOHAN ORDONEZ/AFP/Getty Images)</em>
Aug 25, 2011
Masked gunmen torch a casino in Monterrey, killing 52 people, most of them women. The attack takes less than three minutes. <em>Caption: Relatives of victims cry in front of the Casino Royale, in Monterrey, Mexico, on August 27, 2011. (Ronaldo Schemidt/AFP/Getty Images)</em>
Aug 20, 2011
Five headless bodies were found in Acapulco, taking the number of people killed in the popular Pacific resort to at least 25 in that one week. <em>Caption: Forensic personnel move the corpse of a person murdered in a hotel at the La Guinea neighbordhood in the town of Acapulco, Guerrero state, Mexico on August 24, 2011. (Pedro PARDO/AFP/Getty Images)</em>
Officials unearthed the first of what turned out to be more than 450 bodies buried in mass graves in the northern states of Durango and Tamaulipas. <em>Caption: Forensic personnel unload at the morgue bodies of people killed execution-style in Matamoros, Tamaulipas State, Mexico, on April, 11, 2011. (STR/AFP/Getty Images)</em>
Aug 25, 2010
Marines found the bodies of 58 men and 14 women at a ranch near the Gulf of Mexico in Tamaulipas state, 90 miles from the Texas border, after a firefight with drug hitmen in which three gunmen and a marine died. <em>Caption: A worker wearing protective suit and boots walks between two refrigerated trucks parked outside a funeral home where the bodies of 72 men and women that were allegedly killed by the Zetas drug gang, are kept in San Fernando, just 100 miles from the the Mexican border with the U.S. near the city of Matamoros, Thursday Aug. 26, 2010. (AP Photo/Guillermo Arias)</em>
July 24, 2010
Police unearthed 51 bodies in a grave outside Mexico's business capital, Monterrey, in northern Mexico over several days. Some corpses were burned beyond recognition. <em>Caption: View of the remains of two burnt bodies found in Monterrey, Nuevo Leon state, on October 20, 2010. The bodies were found under burnt wooden pallets. (Dario Leon/AFP/Getty Images)</em>
July 18, 2010
Gunmen burst into a birthday party in the northern city of Torreon, using automatic weapons to kill 17 party-goers and wound 18 others. Mexican authorities said later those responsible were incarcerated cartel hitmen let out of jail by corrupt officials. The killers allegedly borrowed weapons and vehicles from prison guards and later returned to their cells. <em>Caption: Police officers patrol a street in Torreon, in the Mexican northern state of Coahuila, Monday, July 19, 2010. (AP Photo/Ramon Sotomayor)</em>
June 28, 2010
Suspected cartel gunmen shot and killed a popular gubernatorial candidate in the northern state of Tamaulipas in the worst cartel attack on a politician to date. Rodolfo Torre, 46, and four aides from the opposition Institutional Revolutionary Party, or PRI, were ambushed on their way to a campaign event for the July 4 state election. <em>Caption: A billboard with the portrait of the candidate for Governor of Tamaulipas state for the Institutional Revolutionary Party (PRI), Rodolfo Torre, and reading 'A leader forever' is seen during his funeral at the Polyforum in Ciudad Victoria, Tamaulipas state, Mexico, on June 29, 2010. (LUIS ACOSTA/AFP/Getty Images)</em>
March 13, 2010
Hitmen killed three people linked to the U.S. Consulate in Ciudad Juarez in March, provoking "outrage" from U.S. President Barack Obama. <em>Caption:The U.S. national flag flutters at half-mast at the entrance of the consulate of the United States in Ciudad Juarez, Chihuahua state, Mexico on March 15, 2010. (Jesus Alcazar/AFP/Getty Images)</em>
Jan 31, 2010
Suspected cartel assailants killed 13 high school students and two adults at a party in Ciudad Juarez across from El Paso, Texas. <em>Caption: Students enter a high school in Ciudad Juarez, a city ridden by homicidal violence along Mexico's border with Texas. (Tim Johnson/MCT via Getty Images)</em>
Sept 15, 2008
Suspected members of the Zetas drug gang tossed grenades into a crowd celebrating Mexico's independence day in the western city of Morelia, killing eight people and wounding more than 100. <em>Caption: From left to right: Julio Cesar Mondragon Mendoza, Juan Carlos Castro Galeana, and Alfredo Rosas Elicea, are members of a group of hitmen called the 'Zetas' shown to the press at the General Attorney's office in Mexico City, on September 26, 2008. The three gangsters confessed that they are the authors of a grenade attack that killed eight people during the celebration of Independence Day in Morelia, western Mexico. (STR/AFP/Getty Images)</em>