Photo by Gotham/Getty Images

President Trump's former legal advisor Michael Cohen is back in federal custody after breaking the terms of his release from prison due to coronavirus fears.

Cohen was serving a three-year sentence for lying to Congress, income tax evasion and campaign finance charges for paying hush money to women who alleged affairs with his boss, President Trump.

Cohen was released on furlough in May after inmates tested positive for the coronavirus.

He was taken back into custody by U.S. Marshals after a photo published on the front page of the NY Post showed him dining at a restaurant when he was supposed to be on home confinement.

The NY Post published the photo of Cohen, his wife Laura, and another couple dining at the upscale La Bilboquet, a French restaurant near his luxury apartment on the Upper East Side on the evening of July 2.

Cohen was booked into the Metropolitan Detention Center in Brooklyn, and will be transferred to a secure federal prison.