§ 10.038 JURISDICTION AND VENUE.
   (A)   A person is subject to prosecution in this municipality for an offense which he or she commits, while either within or outside the municipality, by his or her own conduct or that of another for which he or she is legally accountable, if:
      (1)   The offense is committed either wholly or partly within the municipality;
      (2)   The conduct outside this municipality constitutes an attempt within this municipality;
      (3)   The conduct outside this municipality constitutes a conspiracy to commit an offense within this municipality and an act in furtherance of the conspiracy occurs in this municipality; or
      (4)   The conduct within the municipality constitutes an attempt, solicitation, or conspiracy to commit in another jurisdiction an offense under this code and such other jurisdiction.
   (B)   An offense is committed partly within this municipality if either the conduct which is an element of the offense, or the result which is such an element, occurs within this municipality.
   (C)   An offense which is based on an omission to perform a duty imposed by this code is committed within this municipality regardless of the location of the offender at the time of the omission.