Real estate heir Robert Durst pleaded guilty to gun charges on Wednesday in New Orleans, the New York Times reports.

The subject of the HBO documentary “The Jinx” pled guilty to illegally possessing a gun — a .38-caliber revolver — following a felony conviction. Durst will be sentenced to 85 months in federal prison in late April under a plea bargain arrangement.

The maximum penalty that Durst could have faced was 10 years in jail and a $250,000 fine.

He was charged on March 16 by Louisiana State Police for possession of a firearm and possession of a firearm with a controlled substance.

The plea clears the way for Durst to be extradited to federal prison in Los Angeles by Aug. 18 to face a pending murder charge. He was arrested in March for the 2000 murder of his friend and former spokeswoman Susan Berman.

He was jailed on March 14 — a day before the shocking finale of “The Jinx,” featuring an audio recording in which he’s heard muttering “What the hell did I do? Killed them all, of course” into a microphone he didn’t know was on. The docu-series detailed the disappearance of Durst’s first wife, Kathleen, in 1982; Berman’s murder; and the killing of one of Durst’s neighbors.

Durst has been linked to several deaths over the last 34 years, including that of his ex-wife. He admitted to killing his neighbor, Morris Black, in self-defense, and was acquitted of murder in 2003.