As Donald Trump contemplated whether to marry second wife Marla Maples in the fall of 1993, he faced bankruptcy from his three casinos in Atlantic City, New Jersey, had nearly defaulted on $3.4 million in debt and had been forced to sell his 282-foot yacht, his Trump Shuttle airline and his stake in New York City’s Plaza hotel, according to a new report from Vanity Fair.

As if that financial picture wasn’t dire enough, the flamboyant Manhattan real estate mogul also was coming off the costly, scandalous 1992 divorce from first wife Ivana. He had agreed to give her their Connecticut estate and pay $650,000 annually to support children Don Jr., Ivanka and Eric, Vanity Fair writer Gabriel Sherman added.

Maples, 30, had just given birth to their daughter, Tiffany, and was anxious to get married. Perhaps it had to do with the notorious claim the Georgia-born former beauty queen had made to the New York Post in 1990 — how Trump offered her the “best sex I’ve ever had.” Trump and Maples had started an affair in 1987, when he was still married to Ivana Trump.

But if Donald Trump, then 47, were to marry a second time, he wanted to “fiercely” hold onto the the money he had left, Sherman wrote. As much as he once said in an interview that prenuptial agreements are “horrible” documents that are counter to romance, he insisted Maples sign one.

The agreement Maples eventually signed was pretty “draconian,” according to Sherman, who recently obtained a copy of that document.

While Maples had put up a fight and asked for $25 million, Trump agreed to pay her only $1 million if they separated within five years, plus another $1 million to buy a house, Sherman reported. Trump also would stop making $100,000 child support payments for Tiffany when she turned 21. However, Trump’s payments would end earlier if Tiffany got a full-time job, enlisted in the military or joined the Peace Corps.

(As it turned out, Tiffany joined neither the military nor the Peace Corps. Now 25, she went to college and is now studying law at Georgetown University.)

“The way it was drawn up is ironclad and shows how wary he was,” famed divorce attorney Raoul Felder told Sherman. “He was leaving nothing to chance.”

As much as Maples hoped to get more out of Trump, she also was at a disadvantage. While Trump claimed to be worth $1.17 billion, Maples only had $100,000 in the bank, according to the agreement. Trump wouldn’t back down from his $1 million offer, and Maples desperately wanted to get married.

Trump held the line up to their December 1993 wedding at the Plaza, a source told Sherman.

“Marla was under duress. Donald’s position was: Without the prenup, he wasn’t going to get married,” the source told Sherman. Maples signed the agreement 24 hours before 1,000 guests, who included Rosie O’Donnell and O.J. Simpson, arrived for their wedding.

Maples expected to negotiate for a better deal after five years of marriage, but she and Trump separated after only four years. According to Sherman and other reports, their breakup was trigged by a 1996 National Enquirer cover story that alleged that Maples had been caught by police in Palm Beach, Florida, during a “frolic” on the beach with one of Trump’s bodyguards.

As much as Maples and Trump denied anything inappropriate had happened on the beach, Trump went “nuclear” over the article, Sherman wrote. However, Trump waited another year to leave Maples so that he wouldn’t look as though he was the one who had been cheated on.