Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

In a twist worthy of the silver screen, information from Hollywood producers may have helped lead to the recapture of the world’s most powerful drug lord, Joaquin El Chapo Guzman, who escaped from a Mexican prison in July.

NBC News has learned from multiple U.S. sources that Hollywood producers seeking to turn the Sinaloa cartel chieftain’s life story into a movie notified U.S. officials that they were working on the biopic and were headed to Mexico for research.

According to multiple officials, several production companies contacted the Justice Department to express an interest in producing a film. At least one of those companies — and a well-known actor — were in contact with associates of El Chapo.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

At least one source says the information gleaned through the Hollywood contacts may have helped lead to Guzman’s recapture.

Related: Mexico Aims to Fulfill U.S. Extradition Request for 'El Chapo'

Other sources say it is unclear just how much help, if any, the information may have been.

Guzman escaped from a Mexican prison in July through an elaborate tunnel but was recaptured Friday.

During a press conference after his capture, Mexican Attorney General Arely Gomez Gonzalez said that an "important element in determining Chapo's whereabouts was finding out that he wanted to film an autobiographical film."

Mexican drug lord Joaquin "El Chapo" Guzman is escorted by soldiers and marines to a waiting helicopter at a federal hangar in Mexico City, late on Jan. 8, 2016. Rebecca Blackwell / AP

The attorney general said Guzman had "made contact with actresses and producers."

Mexican officials allegedly documented meetings between Guzman’s lawyers and the actors and producers.

Related: Mexico, Social Media Reacts to El Chapo Capture

One U.S. official said that information from Hollywood sources was only one part of a two-year hunt by the Drug Enforcement Administration’s Special Operations Division and other federal law enforcement, assisting the Mexican government, that included informants, satellite imagery and intercepted cellphone communications.

Guzman escaped from a Mexican prison in 2001 and was free until he was rearrested by Mexican authorities in February 2014, using intelligence from U.S. sources. He was imprisoned until he escaped once again in July 2015.