WASHINGTON — President Trump engaged in talks to build a Trump Tower in Russia throughout his presidential campaign up until Election Day, the president’s lawyer revealed Sunday, contradicting past statements.

Rudy Giuliani said Trump’s conversations about building a tower in Moscow with his former fixer Michael Cohen continued throughout the 2016 presidential campaign against Hillary Clinton.

“It is our understanding … that they went on throughout 2016, not a lot of them, but there were conversations, but there were conversations, can’t be sure of the exact date, but the president can remember having conversations with him about it,” Giuliani told NBC’s “Meet the Press.”

Giuliani said Trump revealed the timeframe in his written responses to special counsel Robert Mueller.

The former New York mayor said it was Cohen who was the lead on the deal — which never was finalized — and Trump spent little time on the project in 2016.

“All his concentration was 100 percent on running for president,” Giuliani said.

Cohen was caught lying to Congress when he said negotiations to build the tower stopped in January 2016 when they stretched at least into June.

Trump maintained during the presidential campaign that he has “zero investments in Russia” and insisted, “I have nothing to do with Russia.”

Giuliani said on CNN’s “State of the Union” that Trump’s statements of denial were “accurate” since ongoing talks are not the same as penning a deal to build a skyscraper.

Also Sunday, Team Trump continued to push back on a BuzzFeed report that said Trump directed Cohen to lie to Congress about the Moscow project.

Even Mueller’s team called the reporting “not accurate” in a rare rebuke.

While Trump never directed Cohen to lie, it’s possible the president spoke to his former lawyer before he testified to Congress, Giuliani said.

“So what if he talked to him about it,” Giuliani told CNN, “if it’s the truth?”