Real estate heir Robert Durst will serve seven years and one month in prison on a weapons charge after a federal judge approved a plea deal on Wednesday, the Associated Press reports.

U.S. District Judge Kurt Engelhardt approved the sentence, which Durst accepted, in New Orleans. The maximum penalty that Durst could have faced was 10 years in jail and a $250,000 fine.

Durst, the subject of the HBO documentary “The Jinx,” was charged on March 16 by Louisiana State Police for possession of a firearm and possession of a firearm with a controlled substance. He pled guilty in February to illegally possessing a gun following a felony conviction.

His attorneys filed a motion Monday asking Engelhardt to recommend that Durst serve his time at Terminal Island, Calif., where he faces a separate pending murder charge. Durst is charged in Los Angeles with the 2000 murder of his friend and former spokeswoman Susan Berman.

He was jailed on the weapons charge on March 14, 2015 — a day before the shocking finale of “The Jinx.” The show ended with an audio recording in which Durst is 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.