The plea deal calls for Suge Knight to serve 22 years in prison on the voluntary manslaughter count, and six years because it is a third strike violation.
Knight collapsed during one court hearing, two of his former attorneys were indicted on witness-tampering charges, and his fiancé pleaded no contest to selling video of Knight hitting the two men with his truck.
His attorney Albert DeBlanc Jr., appointed by the court five months ago, was his 16th, and Knight tried to fire him just a day before the deal was reached.
The 53-year-old was a key player in the gangster rap scene of the 1990s, and his label once listed Dr. Dre, Tupac Shakur and Snoop Dogg among its artists.
Knight lost control of the company after it was forced into bankruptcy. He has prior felony convictions for armed robbery and assault with a gun. He pleaded no contest in 1995 and was sentenced to five years' probation for assaulting two rap entertainers at a Hollywood recording studio in 1992.