Cal. Penal Code § 246.1
(a) Except as provided in subdivision (f), upon the conviction of any person found guilty of murder in the first or second degree, manslaughter, attempted murder, assault with a deadly weapon, the unlawful discharge or brandishing of a firearm from or at an occupied vehicle where the victim was killed, attacked, or assaulted from or in a motor vehicle by the use of a firearm on a public street or highway, or the unlawful possession of a firearm by a member of a criminal street gang, as defined in subdivision (f) of Section 186.22, while present in a vehicle the court shall order a vehicle used in the commission of that offense sold.
Any vehicle ordered to be sold pursuant to this subdivision shall be surrendered to the sheriff of the county or the chief of police of the city in which the violation occurred. The officer to whom the vehicle is surrendered shall promptly ascertain from the Department of Motor Vehicles the names and addresses of all legal and registered owners of the vehicle and within five days of receiving that information, shall send by certified mail a notice to all legal and registered owners of the vehicle other than the defendant, at the addresses obtained from the department, informing them that the vehicle has been declared a nuisance and will be sold or otherwise disposed of pursuant to this section, and of the approximate date and location of the sale or other disposition. The notice shall also inform any legal owner of its right to conduct the sale pursuant to subdivision (b).
(d) The proceeds of a sale conducted pursuant to this section shall be disposed of in the following priority:
(5) The balance, if any, to the city or county in which the violation occurred, to be deposited in a special account in its general fund to be used exclusively to pay the costs or a part of the costs of providing services or education to prevent juvenile violence.
The person conducting the sale shall disburse the proceeds of the sale as provided in this subdivision, and provide a written accounting regarding the disposition to all persons entitled to or claiming a share of the proceeds, within 15 days after the sale is conducted.
(f) No vehicle may be sold pursuant to this section in either of the following circumstances: