In this image released by Mexico's Attorney General's Office, onFeb. 22, 2014, Joaquin "El Chapo" Guzman is photographed against a wall after his arrest in the Pacific resort city of Mazatlan, Mexico. The Associated Press has learned that Mexico’s most powerful drug cartel leader employed high-tech communications gadgetry and sophisticated counterespionage practices to elude an international manhunt for 13 years. But in the end, life on the run unraveled for Guzman in a decidedly low-tech way. (AP Photo/PGR)

WASHINGTON (AP) — Mexico's most powerful drug cartel leader employed high-tech communications gadgetry and sophisticated counterespionage practices to elude an international manhunt for 13 years, The Associated Press has learned. In the end, however, life on the run unraveled for Joaquin "El Chapo" Guzman in a decidedly low-tech way.

A traditional wiretap in southern Arizona pointed authorities to a cellphone being used by a top associate. Within a day, Guzman was captured in a high-rise beachfront condominium in Mazatlan, Mexico.

Guzman's penchant for technology and his efforts to stay ahead of the law were described to the AP by a senior law enforcement official with direct knowledge of Guzman's years on the run and by a U.S. government official who was briefed on the case. Both spoke only on condition of anonymity because they were not authorized to discuss the situation by name.

"He didn't spare any expenses when it came to protecting himself," the law enforcement official said.

Some of the communications equipment Guzman used was not generally available to consumers. The sophistication of the gear and Guzman's diligence deeply impressed investigators who were pursuing him. Among other practices, Guzman employed countersurveillance scanners to detect transmitters hidden in rooms or carried by people with whom he was meeting.

"It was top-notch," the law enforcement official said.

Because Guzman was so well protected, he managed to attend family events and marry a local beauty queen in a well-attended bash in his home state of Sinaloa, all while keeping his multinational, billion-dollar drug empire thriving.

U.S. and Mexican officials spent years hunting for a weak spot in his network. The U.S. government official said the Drug Enforcement Administration and Immigration and Customs Enforcement used traditional wiretaps to zero in on Guzman. At times in the last year, agents were able to intercept BlackBerry messages and other communications.

Earlier this month, authorities raided one of Guzman's suspected hideouts in Culiacan, the capital city of Sinaloa, where Guzman operated with near impunity. Inside, they found a cellphone belonging to his communications chief, which helped lead to a trusted courier, the government official said.

The courier later described for authorities a series of houses Guzman used as hideouts. At least one other arrest pointed Guzman's pursuers to the Pacific Coast city of Mazatlan.

The most important clue came from an ICE wiretap monitored in Nogales, Ariz. That information directed Mexican marines to the exact condominium where Guzman had been hiding since outrunning troops days earlier through interconnected tunnels beneath his Culiacan hideouts.

The officials would not discuss the specific methods used over the last 13 years.

The law enforcement official said Guzman wasn't holed up in the rugged mountains of western Mexico while on the run. With the help of his own trusted security force and the likely assistance of some Mexican authorities, Guzman had moved freely about parts of Mexico and even internationally.

"He moved for the most part with impunity (in Culiacan)," the official said. "He traveled at will. He had private planes. He was a businessman and he would go and meet people to discuss not just the drug trade. He was obviously interested in the money trade, the markets. He was looking at expanding the empire."

By the time of his capture, Guzman's empire stretched from Canada through Latin America, Europe, parts of Asia and Australia. He is believed to have amassed a fortune worth billions.

U.S. and Mexican authorities were close to nabbing Guzman in the past but arrived at resorts or other locations hours or days too late, the law enforcement official said. They were never closer than in recent weeks.

Last week, Guzman's pursuers were on his heels during raids at the stash houses in Culiacan. The law enforcement official said Guzman was believed to be just ahead of Mexican troops when he vanished in the underground network below the houses before absconding to the high-rise condo in Mazatlan, along the coast.

*We welcome your comments on the stories and issues of the day and seek to provide a forum for the community to voice opinions. All comments are subject to moderator approval before being made visible on the website but are not edited. The use of profanity, obscene and vulgar language, hate speech, and racial slurs is strictly prohibited. Advertisements, promotions, and spam will also be rejected. Please read our terms of service for full guides