Under Gov. Code 945.3, a person charged with a criminal offense may not bring a claim against a police officer or the police department relating to the charged offence, including any act or omission in the arrest or detention, while the criminal charges are pending in the superior court. This decision holds that the statute tolls the statute of limitations against the county under Monell v. Dep’t of Soc. Servs. of City of New York (1978) 436 U.S. 658, 690 for constitutional violations that implement the governmental entity’s official policies. Since a Monell claim is based on a constitutional violation by the governmental entity’s employee–here, allegedly excessive violence in arresting the plaintiff–the Monell claim is “based on” the police officer’s conduct during the arrest, and so Gov. Code 945.3 applied, barring suit until after the charges against plaintiff were dismissed. As he filed suit within 2 years after dismissal of the criminal charges, the suit was timely.