Federal prosecutors have granted immunity to National Enquirer head David Pecker in Cohen investigation

David Pecker, the publisher of the National Enquirer and close confidant of President Trump, has been granted immunity by federal prosecutors, according to a report Thursday.

The immunity deal is part of an investigation into Trump’s former personal lawyer, Michael Cohen, who pleaded guilty to eight to eight counts of tax fraud and campaign finance violations on Tuesday.

The Wall Street Journal first reported that Pecker, the chairman of American Media Inc., which owns the National Enquirer, gave prosecutors details about the President's knowledge of payments Cohen made to women alleging affairs with Trump.

Both Cohen and AMI were involved in a pair of payments to women who say they had sexual relationships with Trump years before he became President, prosecutors said.

Cohen said in court that he made the payments under Trump’s direction.

Court documents revealed that the "chairman" of "a media company that owns, among other things, a popular tabloid magazine" put Cohen in touch with one of the women, who was paid $130,000 a month before the 2016 presidential election in exchange for her silence.

The woman, porn star Stormy Daniels, has since spoken about her alleged dalliance with the erstwhile reality TV star and is suing Trump to break the nondisclosure agreement she signed.

The other woman, former Playboy model Karen McDougal, was paid $150,000 in August 2016 by AMI. Her story was never published, a practice known as “catch and kill.”

Trump has denied the affairs — and has repeatedly changed his story as to when he knew about the payments.

In an interview with Fox News, Trump said Thursday that he knew about the payments “later on.”