President Trump on Thursday called his former lawyer Michael Cohen “a weak person” who was “lying to get a reduced sentence” behind bars.

Cohen earned Trump’s wrath by telling special counsel Robert Mueller’s team that he and Trump had spoken about a Moscow hotel deal later than he had told Congress.

“He was convicted of various things unrelated to us. He was given a fairly long jail sentence and he’s a weak person and by being weak, unlike other people that you watch, he’s a weak person and what he’s trying to do is get a reduced sentence. So he’s lying about a project that everybody knew about,” Trump said as he left the White House for the G20 summit in Argentina.

“He put out a statement talking about a project which was essentially, you guess, more or less of an option that we were looking at in Moscow, everybody knew about it. It was written about in newspapers. It was a well-known project. It was during the early part of ‘16 and I guess even before that,” Trump continued, minimizing the deal.

“I didn’t do the project. I decided not to do the project, so I didn’t do it. So we’re not talking doing a project. We’re talking about not doing a project,” he said, before renewing his attacks on Cohen.

“Michael Cohen, what he’s doing is he was convicted, I guess, you’ll have to put it into legal terms, but he was convicted with a fairly long-term sentence on things totally unrelated to the Trump Organization.”

Cohen’s lawyer, Lanny Davis, hit back at the president on Twitter.

“@MichaelCohen212 this morning reaffirmed what he said last July 2 and told me many times since — that he decided to put his wife, daughter, son and country first. Today he again told the truth and nothing but the truth. @realDonaldTrump called him a liar. Who do you believe?” he wrote.

“I am proud that #robertmueller himself today confirmed that @MichaelCohen212 has told the truth and that truth is relevant and significant. Michael will continue to work with the SC and others until the full truth is told,” he added in a second tweet.

Cohen pleaded guilty Thursday to making false statements to Congress regarding a Trump Organization real estate project in Moscow, putting fresh pressure on the president.

Cohen entered the guilty plea in federal court in Manhattan to one count of making false statements to Congress in an investigation by lawmakers into whether Trump’s campaign worked with Russia to sway the election.

Cohen said in court that in 2017, he submitted a written statement to Congress saying all efforts relating to the real estate project in Moscow had ceased by January 2016. Cohen said that in fact these efforts continued until June 2016.

Cohen also said that in the statement to Congress, he claimed to have had limited contact with Trump concerning the project, when in fact it had been “more extensive.”

Cohen also said he falsely told Congress he never took any steps toward traveling to Russia, when in fact he had discussed traveling there, although he never did.

The Kremlin later said in a statement to CNN that they had replied to Cohen’s emails seeking a meeting with officials about the project — contradicting an earlier statement in which they said they never responded.

“They sent an email to our office saying they wanted to develop a project of a Trump building in Moscow, asking for a meeting with [the] chief of the administration. Later we called and asked why they wanted to have meetings with the presidential administration and explained that we have nothing to do with the construction issues in the city of Moscow,” read the statement.