Michael Cohen, the former attorney for President Donald Trump who was sentenced to prison in Otisville, New York in 2018 after pleading guilty to multiple felonies, has been released by order of a federal judge.

That judge on Thursday ordered Cohen’s release no later than 2 p.m. on Friday, when he’ll be retrieved by his son and driven back to his Upper East Side apartment in Manhattan, according to cnbc.com.

Cohen was released from the prison in May as a precaution due to medical issues that would make him more vulnerable to Covid-19, but brought back to the Otisville institution on June 9 and placed in quarantine for allegedly not promising to pullback the publishing of a forthcoming book that could be critical of the president, the report said.

Judge Alvin Hellerstein, presiding over a case that saw Cohen suing to win his re-release from prison on the grounds he was brought back as retaliation for the forthcoming book, agreed with defense attorney Danya Perry, saying “How can I take any other inference but that it was retaliatory?” according to the report.

Cohen pleaded guilty in 2018 to tax fraud, campaign finance violations and lying to Congress. Cohen also admitted that he helped facilitate hush-money payments to two women who alleged past affairs with Trump before he ran for President. Trump has denied having affairs with the women.

Cohen was initially set to be released from the Hudson Valley prison in November 2021, but that changed on May 1, 2020 when he was allowed to serve the remainder of his term in home confinement.

More From WRRV-WRRB