When an act charged as a public offense is within the jurisdiction of the United States, or of another state or territory of the United States, as well as of this state, a conviction or acquittal thereof in that other jurisdiction is a bar to the prosecution or indictment in this state.
Ca. Pen. Code § 793