Pending appeal, the defendant may apply to the appellate division:
The application must include a showing that the defendant sought relief in the trial court and that the court unjustifiably denied the application.
The application must be served on the prosecuting attorney.
Pending its ruling on the application, the appellate division may grant the relief requested. The appellate division must notify the trial court of any stay that it grants.
Cal. R. Ct. 8.854
Advisory Committee Comment
Subdivision (c). As defined in rule 8.804, the "prosecuting attorney" may be the city attorney, county counsel, district attorney, or state Attorney General, depending on what government agency filed the criminal charges.