OPINION
Steve Manning was charged with the offense of hindering a secured creditor. See Tex.Penal Code Ann. § 32.33 (Vernon 1989). After a jury was empaneled and sworn, he pled not guilty. During the testimony of the first witness, Manning objected to two exhibits — a security agreement and a loan agreement. After the court sustained his objection, the State moved to dismiss the indictment. The State contends in two points that the court erred in sustaining the objection to the exhibits. Manning has, however, filed a motion to dismiss the appeal, asserting that the State cannot appeal after jeopardy attaches.
The State asserts the right to appeal under subsections (1) and (5) of article 44.-01(a) of the Code of Criminal Procedure. See Tex.Code CRIM.Proc.Ann. art. 44.-01(a)(1), (5) (Vernon Supp.1992).
The record reflects that the State and Manning announced ready for trial, the oath was administered to the jury, the rule was invoked, and Manning pled not guilty to the indictment. After opening statements by both attorneys, the State’s first witness, David Barnard, began to testify. During Barnard’s testimony, Manning objected to the State’s offer of the two exhibits into evidence. After hearing argu *323 ments, the court sustained the objection. The State then moved to dismiss the indictment, and the court dismissed the case.
In jury trials, jeopardy attaches when the jury is empaneled and sworn.
Crist v. Bretz,
We find no authority for this appeal in subsection (5) of article 44.01(a), which provides that the State can appeal from an order granting any of the specified motions only if jeopardy has not attached. See Tex.Code Crim.Proc.Ann. art. 44.01(a)(5). Thus, the State’s hope for a successful appeal depends on subsection (1) of article 44.01(a), which provides for an appeal by the State from an order that “dismisses an indictment, information, or complaint or any portion of an indictment, information, or complaint.” See id. art. 44.01(a)(1).
The State maintains that
State v. Young, State v. Moreno,
and
State v. Eaves
authorize this appeal.
See State v. Young,
The impetus for dismissal of a criminal case can arise from only three sources: the court’s own motion or a motion by the State or defense. Absent certain circumstances, a trial court does not have authority to dismiss a criminal case on its own motion.
State v. Johnson,
The State overlooks the language in State v. Moreno that speaks to the situation at hand where the court said:
[W]e therefore hold that the trial court “effectively terminates” the prosecution against an accused whenever the effect of its order forces any alteration of the indictment or information before the trial on the merits and the State is not willing to comply with that order.
Moreno,
*324
Further, even if the appeal were properly before us, the State’s voluntary motion to dismiss the indictment and its appeal from the order of dismissal are inconsistent acts. “It is well established in our jurisprudence that ‘an accused cannot invite error and then complain thereof.’ ”
Capistran v. State,
[I]f, during the progress of a cause, any party thereto requests] or move[s] the court to make an erroneous ruling, and the court rule[s] in accordance with such request or motion, he cannot take advantage of the error on appeal.
Id. We believe that, now that the State has a limited right of appeal, the doctrine should apply to the State as well as to an accused. Thus, the State cannot complain about a dismissal that it invited by making a motion to dismiss. See id.
The appeal is dismissed.
CUMMINGS, J., not participating.
