In this Jan. 31, 2014 photo, David Pecker, Chairman and CEO of American Media, addresses those attending the Shape & Men's Fitness Super Bowl Party in New York. The Aug. 21, 2018 plea deal reached by Donald Trump's former attorney Michael Cohen has laid bare a relationship between the president and Pecker, whose company publishes the National Enquirer. Besides detailing tabloid's involvement in payoffs to porn star Stormy Daniels and Playboy Playmate Karen McDougal to keep quiet about alleged affairs with Trump, court papers showed how David Pecker, a longtime friend of the president, offered to help Trump stave off negative stories during the 2016 campaign. (Marion Curtis via AP)
In this Jan. 31, 2014 photo, David Pecker, Chairman and CEO of American Media, addresses those attending the Shape & Men's Fitness Super Bowl Party in New York. The Aug. 21, 2018 plea deal reached by Donald Trump's former attorney Michael Cohen has laid bare a relationship between the president and Pecker, whose company publishes the National Enquirer. Besides detailing tabloid's involvement in payoffs to porn star Stormy Daniels and Playboy Playmate Karen McDougal to keep quiet about alleged affairs with Trump, court papers showed how David Pecker, a longtime friend of the president, offered to help Trump stave off negative stories during the 2016 campaign. (Marion Curtis via AP) Credit: Marion Curtis

Washington — The National Enquirer kept a safe containing documents on hush money payments and other damaging stories it killed as part of its cozy relationship with Donald Trump leading up to the 2016 presidential election, people familiar with the arrangement told The Associated Press.

The detail came as several media outlets reported on Thursday that federal prosecutors had granted immunity to National Enquirer chief David Pecker, potentially laying bare his efforts to protect his longtime friend Trump.

Trump’s former lawyer Michael Cohen pleaded guilty this week to campaign finance violations alleging he, Trump and the tabloid were involved in buying the silence of a porn actress and a Playboy model who alleged affairs with Trump.

Five people familiar with the National Enquirer’s parent company, American Media Inc., who spoke to the AP on the condition of anonymity because they signed non-disclosure agreements, said the safe was a great source of power for Pecker, the company’s CEO.

The Trump records were stored alongside similar documents pertaining to other celebrities’ catch-and-kill deals, in which exclusive rights to people’s stories were bought with no intention of publishing to keep them out of the news.

By keeping celebrities’ embarrassing secrets, the company was able to ingratiate itself with them and ask for favors in return.

But after The Wall Street Journal initially published the first details of Playboy model Karen McDougal’s catch-and-kill deal shortly before the 2016 election, those assets became a liability. Fearful that the documents might be used against American Media, Pecker and the company’s chief content officer, Dylan Howard, removed them from the safe in the weeks before Trump’s inauguration, according to one person directly familiar with the events.

It was unclear whether the documents were destroyed or simply were moved to a location known to fewer people.

Pecker’s immunity deal was first reported on Thursday by Vanity Fair and The Wall Street Journal, citing anonymous sources. Vanity Fair reported that Howard also was granted immunity.