NEW YORK CITY (CBSLA/AP) – Michael Cohen, President Donald Trump’s former lawyer, made a surprise appearance before a federal judge in New York on Thursday to plead guilty to lying to Congress about work he did on an aborted project to build a Trump Tower in Russia.

Michael Cohen, former personal attorney to President Donald Trump, exits federal court, Nov. 29, 2018 in New York City. (Getty Images)

Flanked by his lawyers, Cohen admitted making false statements in 2017 to the U.S. Senate Select Committee on Intelligence about the project.

READ MORE: LA Schools To Resume Outdoor Sports; Participants Required To Wear Masks, Undergo Weekly COVID Testing

Cohen told the judge he lied about the timing of the negotiations and other details to be consistent with Trump’s “political message.”

Cohen and prosecutors referred to Trump as “individual one” throughout Thursday’s proceedings and said he lied “to be loyal to Individual One.”

“He’s lying, very simply, to get a reduced sentence,” Trump said Thursday. “What he’s trying to do, because he’s a weak person and not a very smart person. What he’s trying to do is end – and it’s very simple, he’s got himself a big prison sentence and he’s trying to get a mess lesser prison sentence by making up a story.”

Among other lies, Cohen said he told Congress that all discussions of the Moscow Trump Tower project ended by January 2016, when they had actually continued until June of that year.

One of the prosecutors working with Special Counsel Robert Mueller was present in the courtroom.

Cohen’s lawyer, Guy Petrillo, said he would give the court a letter outlining how his client has cooperated with Mueller’s investigation.

In August, Cohen pleaded guilty to other federal charges involving his taxi businesses, bank fraud and his campaign work for Trump.

READ MORE: West Valley Animal Shelter To Reopen On March 15 After Closing Due To Pandemic

Reacting to the plea to the new charges, House Speaker Paul Ryan said Cohen “should be prosecuted to the extent of the law. That’s why we put people under oath.”

Cohen gave a statement to congressional committees last year saying the president’s company pursued a project in Moscow during the Republican primary but that the plan was abandoned “for a variety of business reasons.”

Cohen also said he sent an email to the spokesman for Russian President Vladimir Putin as part of the potential deal.

In his statement, he said that he worked on the real estate proposal with Felix Sater, a Russia-born associate and Mob-linked felon who he said claimed to have deep connections in Moscow.

“Felix Sater is one of the most enigmatic figures in the entire Trump-Russia saga, and we know he and his father both allegedly had ties to the Russian Mafia going way back,” Craig Unger, “House of Trump, House of Putin” author, told CNN.

The discussions about the potential development began after Trump had declared his candidacy. Cohen had said the talks ended when he determined that the project was not feasible.

Cohen had also disclosed that Trump was personally aware of the deal, signing a letter of intent and discussing it with Cohen on two other occasions.

MORE NEWS: Manhattan Beach Police Officer Charged With Sending Sexually Explicit Messages To Teenage Girl

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)