Washington (CNN) President Donald Trump sought to buy all the dirt on him collected by the tabloid National Enquirer and its parent company American Media Inc., according to a new report.

Trump and his former personal attorney Michael Cohen devised a plan to purchase potentially damaging stories about Trump from AMI, The New York Times reported Thursday, citing several of Trump's associates.

The plan was never finalized, according to the Times. Lawyers for Trump and Cohen declined to comment to the newspaper, as did AMI.

The information gathered on Trump dating back to the 1980s includes older stories and notes about Trump's marital woes, lawsuits and tips about alleged affairs, among other things, according to the Times.

Last week, Jerry George, the former Los Angeles Bureau Chief for the National Enquirer, told CNN's Erica Hill on "Erin Burnett OutFront" that American Media head David Pecker kept a safe in which he held "particularly sensitive story files," including source agreements and contracts. The Associated Press first reported on the safe.

Read More