NEW YORK — Onetime Gambino crime family boss Peter Gotti, the successor and older brother to John “Dapper Don” Gotti, died behind bars Thursday after losing two bids for early release, his lawyer confirmed. He was 81.

The former sanitation worker-turned-mob don was convicted in 2004 of racketeering conspiracy, including charges of placing a $70,000 bounty on the head of Gambino family turncoat Sammy “The Bull” Gravano — whose devastating testimony landed John Gotti in federal prison.

Peter Gotti’s younger, spotlight-loving sibling died behind bars as well in June 2002.

“I had a call [Thursday] morning that he died,” said attorney James Craven III. “That’s all I know. I liked him. ... May he rest in peace.”

Advertise with us

Peter Gotti spent his final two months in the FMC-Butner in North Carolina after a Manhattan federal judge flatly rejected his compassionate release application.

Gotti was suffering from heart problems, dementia, blindness and cancer.

Gotti’s prison release date on federal convictions in both Manhattan and Brooklyn was scheduled for 2032.

Manhattan Federal Judge Colleen McMahon shot down the elderly mobster’s most recent appeal for early release in a December decision noting that “Gotti headed one of the most vicious and violent organized crime organizations in New York for a number of years.”