Donald Trump had a nine-month affair with former Playboy Playmate Karen McDougal in 2006 — two years into his marriage to Melania Trump — and built up an elaborate system to keep his infidelities out of the press, Ronan Farrow wrote in a blockbuster New Yorker article published early Friday.

McDougal confirmed a Wall Street Journal report from shortly before the 2016 election that she was paid $150,000 by National Enquirer publisher American Media Inc. for her account of any affair she had with a “then-married man.”

According to the New Yorker, that “then-married man” was Donald Trump, then a real estate mogul and star of NBC’s “The Apprentice.”

Also Read: Trump's Inaugural Committee Paid $26 Million to Firm Created by Melania Trump's Adviser

She wrote in an eight-page hand-written note obtained by the New Yorker that Trump met her at the Playboy Mansion in 2006, offered her money after the first time they had sex, showed her Melania’s separate bedroom in Trump Tower and reimbursed her for flights to avoid creating a paper trail.

She said she ended the affair in April 2007 after nine months — which means that her relationship would have overlapped with one that porn star Stormy Daniels (née Stephanie Clifford) has claimed to have had with Trump in 2006.

A White House spokesperson denied an affair with McDougal in a statement to the New Yorker: “This is an old story that is just more fake news. The President says he never had a relationship with McDougal.”

The New Yorker also detailed McDougal’s $150,000 deal with AMI — whose CEO and chairman, David Pecker, has called Trump “a personal friend.” The company bought exclusive rights to her story but never published it, an arrangement that six former AMI employees said was a common practice known as “catch and kill.”

Also Read: Stormy Daniels 'Is Going to Tell Her Story' About Trump, Her Manager Says

McDougal said she now regrets her deal with A.M.I., telling the New Yorker: “It took my rights away. At this point I feel I can’t talk about anything without getting into trouble, because I don’t know what I’m allowed to talk about. I’m afraid to even mention his name.”

A rep for AMI said that it didn’t publish McDougal’s story because it did not find it credible. McDougal was allowed to “respond to legitimate press inquiries” according to an amendment in her contract, the New Yorker wrote.

In a statement issue Friday, AMI also rejected the story’s underlying premise: “The New Yorker and Ronan Farrow’s suggestion that AMI engages in any practice that would allow it to hold influence over the President of the United States is laughable.”