A disgraced former bankruptcy lawyer has pleaded guilty to embezzling almost $2 million in client money held in his attorney escrow account.

“I used these funds for my personal expenses and to repay those from whom I had previously embezzled,” Pincus David Carlebach admitted to Judge Melissa Jackson on Thursday, saying he’d siphoned some $1.8 million from various clients.

The 57-year-old faces up to seven years in prison on one count of second-degree grand larceny, and up to four years on one count of scheme to defraud when he is sentenced on Aug. 2. He’ll also have to cough up nearly $800,000 in restitution and a fine.

Carlebach copped to similar charges in March in Manhattan federal court, after admitting to pilfering $30,000 from the coffers of a client.

As part of the deal, any prison time the admittedly crooked ex-lawyer serves will run at the same time as his federal sentence, which has not yet been handed down.

Carlebach and his attorney, Richard Finkel, declined comment as he left court.