Los Angeles prosecutors have formally charged Robert Durst, subject of HBO’s documentary series “The Jinx,” with first-degree murder in the death of Susan Berman.

He was also rebooked under two other charges: convicted felon in possession of a firearm, and possession of a weapon with a controlled dangerous substance — a small amount of marijuana.

Durst is eligible for the death penalty.

Berman, a writer and longtime friend of the eccentric real estate scion, was found shot to death at her Benedict Canyon home in 2000. Authorities believe that Durst killed Berman shortly before New York officials could question her about the 1982 disappearance of his wife.

Durst, now 71, was arrested Sunday morning in a New Orleans hotel. He has agreed to extradition to California, according to his lawyer.

On HBO’s series finale of “The Jinx,” Durst was secretly recorded as saying he “killed them all.”

The LAPD’s Kirk Albanese told the Los Angeles Times that the arrest wasn’t made as a result of the documentary: “We based our actions on the investigation and the evidence. The arrest was made as a result of the investigative efforts and at a time that we believe it was needed.”

The LAPD said the arrest in Berman’s slaying was the “result of investigative leads and additional evidence that has come to light in the past year.”

Albanese said the LAPD had been actively investigating Berman’s murder, but he declined to discuss details of the case otherwise.

In 2003 Durst was acquitted of killing of his neighbor Morris Black in Texas.