President Trump nearly got to the White House early — he was reportedly “in serious talks” in 2015 to play the commander in chief in “Sharknado 3.”

“The Donald said yes,” David Latt, who’s part of the team behind the Syfy flying fish franchise, told The Hollywood Reporter in a Wednesday story.

The idea to cast Trump as a fictional president on the “Sharknado” series — which always features a flood of pop culture and political cameos — came from its star, Ian Ziering. The former “90210” actor had appeared on a season of the then-Trump hosted “Celebrity Apprentice” as a contestant and reasoned “his reality TV boss would make a good commander in chief,” The Hollywood Reporter writes.

“He was thrilled to be asked,” Latt said of Trump, although he apparently wasn’t the “Sharknado” team’s first POTUS pick. Former Alaska Gov. Sarah Palin (R) was originally selected for the role, but negotiations with the 2008 GOP vice presidential candidate ultimately fell through.

ADVERTISEMENT

While negotiations with Trump “got pretty far,” and a contract was drawn up, weeks went by and producers hadn’t heard from the real estate mogul.

“Donald’s thinking about making a legitimate run for the presidency, so we’ll get back to you,” Latt says Trump’s lawyer, Michael Cohen, told him at the time.

Instead, casting pros ended up offering the “Sharknado” role to Mark Cuban.

The Dallas Mavericks owner has been an outspoken critic of Trump.

After the casting switchup, Latt says, “Then we immediately heard from Trump’s lawyer.”

“He basically said, ‘How dare you? Donald wanted to do this. We’re going to sue you! We’re going to shut the entire show down!'” Latt recalled.

Cohen told the Reporter that while he had dinner with Ziering about casting Trump, he had “no recollection of the angry correspondence.”

“Sharknado 5: Global Swarming” premieres Sunday on Syfy.