CA §199 Justifiable and excusable homicide not punishable.
California Penal Code
TITLE 8. OF CRIMES AGAINST THE PERSON
CHAPTER 1. HOMICIDE

§199.
The homicide appearing to be justifiable or excusable, the person indicted must, upon his trial, be fully acquitted and discharged.