A person of interest was detained in the killing of a Los Angeles county sheriff.