California Commercial Code. California
or some part of the cause, arose, is the proper county for the trial of the following actions:
(a) For the recovery of a penalty or forfeiture imposed by statute, except, that when it is imposed for an offense committed on a lake, river, or other stream of water, situated in two or more counties, the action may be tried in any county bordering on the lake, river, or stream, and opposite to the place where the offense was committed.
(b) Against a public officer or person especially appointed to execute the duties of a public officer, for an act done by the officer or person in virtue of the office, or against a person who, by the officer's command or in the officer's aid, does anything touching the duties of the officer.
394. (a) An action or proceeding against a county, or city and county, a city, or local agency, may be tried in the county, or city and county, or the county in which the city or local agency is situated, unless the action or proceeding is brought by a county, or city and county, a city, or local agency, in which case it may be tried in any county, or city and county, not a party thereto and in which the city or local agency is not situated. Except for actions initiated by the local child support agency pursuant to Section 17400, 17402, 17404, or 17416 of the Family Code, any action or proceeding brought by a county, city and county, city, or local agency within a certain county, or city and county, against a resident of another county, city and county, or city, or a corporation doing business in the latter, shall be, on motion of either party, transferred for trial to a county, or city and county, other than the plaintiff, if the plaintiff is a county, or city and county, and other than that in which the plaintiff is situated, if the plaintiff is a city, or a local agency, and other than that in which the defendant resides, or is doing business, or is situated. Whenever an action or proceeding is brought against a county, city and county, city, or local agency, in any county, or city and county, other than the defendant, if the defendant is a county, or city and county, or, if the defendant is a city, or local agency, other than that in which the defendant is situated, the action or proceeding must be, on motion of that defendant, transferred for trial to a county, or city and county, other than that in which the plaintiff, or any of the plaintiffs, resides, or is doing business, or is situated, and other than the plaintiff county, or city and county, or county in which that plaintiff city or local agency is situated, and other than the defendant county, or city and county, or county in which the defendant city or local agency is situated; provided, however, that any action or proceeding against the city, county, city and county, or local agency for injury occurring within the city, county, or city and county, or within the county in which the local agency is situated, to person or property or person and property caused by the negligence or alleged negligence of the city, county, city and county, local agency, or its agents or employees, shall be tried in that county, or city and county, or if a city is a defendant, in the city or in the county in which the city is situated, or if a local agency is a defendant, in the county in which the local agency is situated. In that action or proceeding, the parties thereto may, by stipulation in writing, or made in open court, and entered in the minutes, agree upon any county, or city and county, for the place of trial thereof. When the action or proceeding is one in which a jury is not of right, or in case a jury is waived, then in lieu of transferring the cause, the court in the original county may request the chairperson of the Judicial Council to assign a disinterested judge from a neutral county to hear that cause and all proceedings in connection therewith. When the action or proceeding is transferred to another county for trial, a witness required to respond to a subpoena for a hearing within the original county shall be compelled to attend hearings in the county to which the cause is transferred. If the demand for transfer is made by one party and the opposing party does not consent thereto, the additional costs of the nonconsenting party occasioned by the transfer of the cause, including living and traveling expenses of the nonconsenting party and material witnesses, found by the court to be material, and called by the nonconsenting party, not to exceed five dollars ($5) per day each in excess of witness fees and mileage otherwise allowed by law, shall be assessed by the court hearing the cause against the party requesting the transfer. To the extent of that excess, those costs shall be awarded to the nonconsenting party regardless of the outcome of the trial. This section shall apply to actions or proceedings now pending or hereafter brought.
(b) For the purposes of this section, "local agency" shall mean any governmental district, board, or agency, or any other local governmental body or corporation, but shall not include the State of California or any of its agencies, departments, commissions, or boards.
395. (a) Except as otherwise provided by law and subject to the power of the court to transfer actions or proceedings as provided in this title, the superior court in the county where the defendants or some of them reside at the commencement of the action is the proper court for the trial of the action. If the action is for injury to person or personal property or for death from wrongful act or negligence, the superior court in either the county where the injury occurs or the injury causing death occurs or the county where the defendants, or some of them reside at the commencement of the action, is a proper court for the trial of the action. In a proceeding for dissolution of marriage, the superior court in the county where either the petitioner or respondent has been a resident for three months next preceding the commencement of the proceeding is the proper court for the trial of the proceeding. In a proceeding for nullity of marriage or legal separation of the parties, the superior court in the county where either the petitioner or the respondent resides at the commencement of the proceeding is the proper court for the trial of the proceeding. In a proceeding to enforce an obligation of support under Section 3900 of the Family Code, the superior court in the county where the child resides is the proper court for the trial of the action. In a proceeding to establish and enforce a foreign judgment or court order for the support of a minor child, the superior court in the county where the child resides is the proper court for the trial of the action. Subject to subdivision (b), if a defendant has contracted to perform an obligation in a particular county, the superior court in the county where the obligation is to be performed, where the contract in fact was entered into, or where the defendant or any defendant resides at the commencement of the action is a proper court for the trial of an action founded on that obligation, and the county where the obligation is incurred is the county where it is to be performed, unless there is a special contract in writing to the contrary. If none of the defendants reside in the state or if they reside in the state and the county where they reside is unknown to the plaintiff, the action may be tried in the superior court in any county that the plaintiff may designate in his or her complaint, and, if the defendant is about to depart from the state, the action may be tried in the superior court in any county where either of the parties reside or service is made. If any person is improperly joined as a defendant or has been made a defendant solely for the purpose of having the action tried in the superior court in the county where he or she resides, his or her residence shall not be considered in determining the proper place for the trial of the action.
(b) Subject to the power of the court to transfer actions or proceedings as provided in this title, in an action arising from an offer or provision of goods, services, loans or extensions of credit intended primarily for personal, family or household use, other than an obligation described in Section 1812.10 or Section 2984.4 of the Civil Code, or an action arising from a transaction consummated as a proximate result of either an unsolicited telephone call made by a seller engaged in the business of consummating transactions of that kind or a telephone call or electronic transmission made by the buyer or lessee in response to a solicitation by the seller, the superior court in the county where the buyer or lessee in fact signed the contract, where the buyer or lessee resided at the time the contract was entered into, or where the buyer or lessee resides at the commencement of the action is the proper court for the trial of the action. In the superior court designated in this subdivision as the proper court, the proper court location for trial of a case is the location where the court tries that type of case that is nearest or most accessible to where the buyer or lessee resides, where the buyer or lessee in fact signed the contract, where the buyer or lessee resided at the time the contract was entered into, or where the buyer or lessee resides at the commencement of the action. Otherwise, any location of the superior court designated as the proper court in this subdivision is a proper court location for the trial. The court may specify by local rule the nearest or most accessible court location where the court tries that type of case.
(c)