Every person remaining present at the place of any riot, rout, or unlawful assembly, after the same has been lawfully warned to disperse, except public officers and persons assisting them in attempting to disperse the same, is guilty of a misdemeanor.
Ca. Pen. Code § 409