OPINION
We grant the Travis County District Attorney’s motion for rehearing, withdraw our previous opinion and judgment dated August 6, 2010, and substitute the following en banc opinion and judgment in their place. See Tex.RApp. P. 41.2 (allowing appellate courts to decide to consider case en banc).
The Travis County District Attorney appeals from the trial court’s order granting M.M.’s petition for expunction of two charges arising from an arrest in 2004. In the 2004 incident, M.M. was arrested for driving while intoxicated (DWI), resisting arrest, and assault of a public servant. Later, as part of a negotiated plea bargain, the Travis County Attorney abandoned the DWI charge, M.M. pled no contest to the resisting-arrest charge, and M.M. admitted guilt as to the charge of assault of a public servant and asked the trial court to take the admitted offense into account in sentencing her for resisting arrest. See Tex. Penal Code Ann. § 12.45 (West 2011). The court sentenced M.M. to two years of deferred-adjudication community supervision. See Tex.Code Crim. Proc. Ann. art. 42.12, § 5 (West Supp. 2011). M.M. later filed a petition seeking to expunge all records and files relating to her DWI and assault charges, and the trial court granted the petition.
On appeal, the Travis County District Attorney challenges the trial court’s order expunging the assault and DWT charges, contending that M.M. did not meet the requirements with respect to either charge. We agree and reverse the trial court’s order.
BACKGROUND
The facts of this case are undisputed. In 2004, a state trooper conducted a traffic *922 stop of M.M.’s car after observing M.M. commit traffic violations. M.M. refused to perform field sobriety tests and then resisted when the trooper attempted to place her under arrest. With the assistance of two officers who arrived on the scene, the trooper was eventually able to take M.M. into custody. Later, when the officers attempted to transfer M.M. from one patrol car to another, M.M. bit one of them on the head.
After her arrest, M.M. was charged by indictment for the felony offense of assault of a public servant and by information for the misdemeanor offenses of DWI and resisting arrest. As part of a plea bargain, the Travis County Attorney abandoned the DWI charge, M.M. pled no contest to the resisting-arrest charge, and M.M. admitted guilt as to the felony offense of assault of a public servant. Pursuant to section 12.45 of the penal code, M.M. asked the trial court to take the admitted felony offense into consideration in sentencing her for the charge of resisting arrest. The trial court agreed to do so and ultimately sentenced M.M. to two years’ deferred-adjudication community supervision.
In 2007, M.M. filed a petition to expunge the records pertaining to the DWI and assault charges. The Travis County District Attorney (“the DA”), the Travis County Attorney, and the Texas Department of Public Safety opposed the petition for expunction, arguing that M.M. did not meet the statutory criteria for expunction. After a hearing, the trial court granted M.M.’s petition. The DA appeals from the trial court’s order.
STANDARD OF REVIEW
We use an abuse-of-discretion standard in reviewing trial-court rulings on petitions for expunction.
Heine v. Texas Dep’t of Pub. Safety,
When construing statutes, we use a de novo standard of review, and our primary objective is to ascertain and give effect to the legislature’s intent. Tex. Gov’t Code Ann. § 312.005 (West 2005);
F.F.P. Operating Partners, L.P. v. Duenez,
DISCUSSION
This appeal is governed by a former version of article 55.01 of the code of criminal procedure (“the expunction statute”), which sets out the requirements for expunction.
See
Act of May 28, 2003, 78th Leg., R.S., ch. 1236, § 1, 2003 Tex. Gen. Laws 3499, 3499 (“former art. 55.01”) (amended 2011) (current version at Tex. Code Crim. Proc. Ann. art. 55.01 (West Supp. 2011));
Heme,
The version of article 55.01(a) in effect when M.M. sought to expunge the charges provided, in relevant part, as follows:
(a) A person who has been placed under a custodial or noncustodial arrest for commission of either a felony or misdemeanor is entitled to have all records and files relating to the arrest expunged if:
[[Image here]]
(2) each of the following conditions exist:
(A) an indictment or information charging the person with commission of a felony has not been presented against the person for an offense arising out of the transaction for which the person was arrested or, if an indictment or information charging the person with commission of a felony was presented, the indictment or information has been dismissed or quashed, and:
(i) the limitations period expired before the date on which a petition for expunction was filed under Article 55.02; or
(ii) the court finds that the indictment or information was dismissed or quashed because the presentment had been made because of mistake, false information, or other similar reason indicating absence of probable cause at the time of the dismissal to believe the person committed the offense or because it was void;
(B) the person has been released and the charge, if any, has not resulted in a final conviction and is no longer pending and there was no court ordered community supervision under Article 42.12 for any offense other than a Class C misdemeanor; and
(C) the person has not been convicted of a felony in the five years preceding the date of the arrest.
Former art. 55.01. The current version of subarticle 55.01(a)(2) differs from the former subarticle, but the introductory portion of the current version of subarticle 55.01(a) is identical to the former version. Compare Tex.Code Crim. Proc. Ann. art. *924 55.01(a), (a)(2), with former art. 55.01(a), (a)(2). In other words, both the current and the former versions specify that an individual is entitled to “have all records and files relating to the arrest expunged” if certain criteria are met. Tex.Code Crim. Proc. Ann. art. 55.01(a); former art. 55.01(a).
M.M. contends on appeal that the trial court did not err in granting her petition for expunction because she satisfied all of the requirements of the expunction statute with respect to her DWI and assault charges. She asserts that the unit of ex-punction is “the criminal conduct [that] forms the basis for a criminal charge,” not the criminal conduct that forms the basis for an arrest, which could include several separate criminal charges. In other words, she contends that the legislature’s use of the term “the arrest” in former subarticle 55.01(a) refers to each charge arising from the arrest and that her DWI and assault charges can therefore be divorced from the other charge and individually expunged. 1 We disagree. Based on the plain language of the former expunction statute, we conclude that the statute only speaks to expunging the records relating to an arrest, not individual records relating to a charge arising from an arrest.
Specifically under the circumstances of this case, we conclude that M.M. is not entitled to expunction of the DWT and assault charges because an indictment for the felony offense of assault of a public servant was presented against her in this case and was not dismissed, thus disqualifying her for expunction under former su-barticle (a)(2)(A) of the statute as to any offense arising out of the transaction for which she was arrested. See former art. 55.01(a)(2)(A). Our conclusion is based on two determinations: (1) the felony indictment for assault of a public servant presented against M.M. and taken into consideration in sentencing her for the resisting-arrest charge was not dismissed, and (2) given that the indictment was not dismissed, M.M. is disqualified from expunction under former subarticle (a)(2)(A) for all charges arising from her arrest. We address each determination separately below.
Felony Indictment
In the trial court, M.M. admitted guilt as to the felony charge of assault of a public servant, and the trial court agreed *925 to take the admitted offense into consideration in sentencing her on the resisting-arrest charge. The trial court did so pursuant to section 12.45 of the penal code, which states:
(a) A person may, with the consent of the attorney for the state, admit during the sentencing hearing his guilt of one or more unadjudicated offenses and request the court to take each into account in determining sentence for the offense or offenses of which he stands adjudged guilty.
(b) Before a court may take into account an admitted offense over which exclusive venue lies in another county or district, the court must obtain permission from the prosecuting attorney with jurisdiction over the offense.
(c) If a court lawfully takes into account an admitted offense, prosecution is barred for that offense.
Tex. Penal Code Ann. § 12.45. The trial court later granted M.M.’s petition to expunge the felony charge, concluding that the charge had been dismissed when it was taken into consideration under section 12.45. 2 On appeal, the DA contends that the trial court erred in granting the ex-punction because an admitted offense taken into consideration under section 12.45 does not constitute a dismissal under former subarticle (a)(2)(A) of the expunction statute. In response, M.M. argues that an admitted offense taken into account under section 12.45 “resembles” a dismissal and is the functional equivalent of a dismissal because the felony proceedings did not result in a conviction or acquittal and were “terminated solely in her favor.” We disagree with M.M.
Although M.M. correctly points out that the State could no longer prosecute her on the assault charge under the terms of section 12.45, see id., that is not the same as a dismissal, see Black’s Law Dictionary 537 (9th ed. 2009) (defining “dismissal” as “[tjermination of an action or claim without further hearing, especially] before the trial of the issues involved”). To begin with, the record in this case does not contain a motion by the State seeking to dismiss the felony assault charge, and accordingly, there is no order dismissing the charge. Further, the plain language of section 12.45 does not include the word “dismissal” or otherwise suggest that an admitted offense under the statute should be or is dismissed at the time that it is taken into consideration in the sentencing of another offense. Moreover, unlike a dismissal in which there is a termination of the action without consideration of a defendant’s guilt for the crime alleged, in this case, M.M.’s culpability for the felony assault charge was considered by the trial court in sentencing M.M. on the resisting-arrest charge. In light of the preceding, we must conclude that even though the State was not permitted to prosecute her for the admitted offense, that indictment was not dismissed and remained pending.
M.M. also references definitions of “dismissal” addressed in the DA’s brief and argues that if the definitions apply to this case, then the trial court’s consideration of the admitted offense pursuant to section 12.45 falls within the definitions.
See State v. Moreno,
R.R.R.
is also distinguishable from this case because there, the indictment presented against the defendant was quashed, and the prosecutor notified the defendant that the State would not reindict the defendant for that offense.
Further, holding that an offense taken into account under section 12.45 constituted a dismissal under former subarti-cle (a)(2)(A) of the expunction statute would not be consistent with a primary purpose of the expunction statute, which is to permit the expunction of records of wrongful arrests.
Harris County Dist. Attorney’s Office v. J.T.S.,
For all of the reasons given above, we hold that the trial court erred in determining that consideration of M.M.’s admission of guilt as to the assault charge in sentencing her on the resisting-arrest charge pursuant to section 12.45 constituted a “dismissal” of the assault charge under former subarticle (a)(2)(A) of the expunction statute.
Former Subarticle (a)(2)(A)
Having determined that M.M.’s felony assault charge was not dismissed, we must also conclude that M.M. failed to satisfy former subarticle (a)(2)(A) of the expunction statute, which requires that any felony indictment presented as a re- *927 suit of an arrest be dismissed before a person can obtain expunction of an arrest record. Specifically, former subarticles (a) and (a)(2)(A) state, in relevant part, that:
A person who has been placed under a custodial or noncustodial arrest for commission of either a felony or misdemean- or is entitled to have all records and files relating to the arrest expunged if:
an indictment or information charging the person with commission of a felony has not been presented against the person for an offense arising out of the transaction for which the person was arrested or, if an indictment or information charging the person with commission of a felony was presented, the indictment or information has been dismissed or quashed.
Former art. 55.01(a), (a)(2)(A).
Neither party makes a specific argument regarding former subarticle (a)(2)(A) of the expunction statute. Rather, the parties focus on former subarticle (a)(2)(B) of the statute, which sets forth the second requirement that must be satisfied before a person is entitled to expunction.
See id.
(a)(2)(B). However, M.M. does not reach the second requirement because she does not satisfy the first requirement. As previously stated, we use a de novo standard of review in construing statutes and in reviewing the trial court’s legal conclusions, and an individual is only entitled to expunction if she satisfies all of the statutory requirements.
See F.F.P. Operating Partners,
M.M. does not satisfy the first requirement of the expunction statute as set forth under former subarticle (a)(2)(A) because former subarticles (a) and (a)(2)(A) permit the expunction of records pertaining to the arrest, not to individual charges arising from the arrest. Specifically, former su-barticle (a) sets forth the relief that will be granted to a person who meets the requirements of the statute, stating that a person is entitled to have “all records and files relating to the arrest expunged” (emphasis added) if the person meets the three requirements set forth in subparts (A), (B), and (C) of former subarticle (a)(2) of the statute. Thus, from the beginning of the statute, the plain language refers to “the arrest” and grants relief related to “the arrest,” not to individual charges arising from the arrest.
The plain language in former subarticle (a)(2)(A) is consistent with that in former subarticle (a). Former subarticle (a)(2)(A) requires that:
an indictment or information charging the person with commission of a felony [was not] presented against the person for an offense arising out of the transaction for which the person was arrested or, if an indictment or information charging the person with commission of a felony was presented, the indictment or information [was] dismissed or quashed.
Former art. 55.01(a)(2)(A) (emphasis added). Based on the italicized portion of the provision, a trial court may not expunge an arrest record if the transaction for which the person was arrested resulted in a felony indictment that was not dismissed. Thus, former subarticle (a)(2)(A) disqualifies a person from expunction for all charges arising from the arrest if any felony indictment was presented for any offense arising from the arrest. This meaning is made especially clear given the language of former subarticle (a), which refers only to “the arrest” and states that *928 the relief that would be granted if a defendant meets the necessary requirements is expunction of “all records and files relating to the arrest.” Because M.M. was presented with a felony indictment that was not dismissed, she does not satisfy the first requirement for expunction and is not entitled to expunction of any of the records arising from her arrest.
To hold otherwise would require us to change various portions of the language in former subarticles (a) and (a)(2)(A). For example, we would first need to read subarticle (a) as authorizing the expunction of all records and files relating to “each charge arising from the arrest,” rather than “the arrest.” We would then need to read subarticle (a)(2)(A) as prohibiting the presentation of a felony indictment for “the charge the person is seeking to expunge” rather than for “an offense arising out of the transaction for which the person was arrested.” As we previously stated, an individual must comply with all of the requirements in order to be entitled to expunction, and courts do not have equitable power to grant relief beyond the plain language of the expunction statute.
S.C.,
Further, allowing a person to expunge individual charges when there is no suggestion that the arrest that resulted in the charges was wrongful would be contrary to a primary purpose of the expunction statute, which is to allow the record of a wrongful arrest to be expunged,
see J.T.S.,
We recognize that former subarticle (a)(2)(B) makes reference to the phrase “the charge” in setting forth the second requirement necessary for expunction, but under the circumstances of this case, M.M. does not reach the second requirement because she does not satisfy the first requirement. Even if she were not disqualified under the first requirement, a reference to “the charge” in one provision of the statute does not change the plain language of former subarticles (a) and (a)(2)(A), which are written from the perspective of “the arrest” and which are consistent with the primary purpose of the statute. Any conflict in the language of the statute must be resolved by the legislature, not the courts. If the legislature intends something different, it could amend the statute to authorize the expunction of all records and files relating to an individual charge, rather than an arrest, and could further clarify the requirements for expunction to make it clear that each charge may be expunged individually if it meets the necessary requirements, even if the arrest itself was not wrongful and even if the arrest resulted in a conviction on another charge. 4
*929 Under the terms of the former statute, M.M. is not entitled to expunction of her DWI and assault charges because she fails to satisfy the first requirement for expunction. Specifically, she was presented with a felony indictment for assault of a public servant that was not dismissed, thus disqualifying her for expunction under former subarticle (a)(2)(A) of the expunction statute. 5 Accordingly, the trial court abused its discretion in expunging M.M.’s DWI and assault charges.
CONCLUSION
In light of the foregoing, we reverse the trial court’s expunction order and render judgment denying expunction for M.M.’s DWI and assault charges.
Notes
. Endorsing the construction offered by M.M. would lead to potentially serious problems for law-enforcement personnel. See Tex. Gov't Code Ann. § 311.023(5) (West 2005) (explaining that courts may consider consequences of particular construction when ascertaining meaning of statute). If we were to interpret "arrest” as referring to a charge arising from an arrest, then an individual would have the ability to have expunged "all records and files relating to” a charge arising from his arrest. See Tex.Code Crim. Proc. Ann. art. 55.01(a) (West Supp. 2011); former art. 55.01(a). In circumstances in which only a single charge follows an arrest, an individual would be able to have all documents related to that charge expunged. The situation would be more problematic under circumstances, like those present in this case, in which more than one charge stems from a single arrest. The phrase "all records and files relating to” would seem broad enough to include all documents that discuss or refer to the charge that is the subject of the expunction motion even if those documents also discuss other charges that resulted from the arrest. Accordingly, provided that the requirements of article 55.01 were met, an individual would be entitled to expunge documents that bear upon charges for which expunction was not sought, even if those charges were successfully prosecuted. Moreover, law-enforcement personnel would be forced to comb through all records pertaining to and following the arrest to see what documents mentioned the charge at issue. Nothing in the language of the former statute persuades us that the legislature intended to impose such an onerous burden on law-enforcement officials. See former art. 55.01.
. The trial court issued findings of fact and conclusions of law in which it specifically concluded that the felony indictment presented against M.M. “was dismissed due to the proceedings that occurred pursuant to Tex. P.Code § 12.45.”
. The Texas Supreme Court has stated, "[t]he public has an important interest in arrest records being kept for use in subsequent punishment proceedings, including subsequent applications for probation. These records are valuable to document and deter recidivism.”
Harris County Dist. Attorney's Office v. J.T.S.,
. The former expunction statute did not provide an absolute bar to the retention of a *929 wrongful arrest on a person’s record. Even when people satisfied the first two requirements of the former expunction statute and showed that they were in fact wrongfully arrested, they still had to prove that they were not convicted of a felony in the five years preceding the date of the arrest. Former art. 55.01(a)(2)(C). If they were so convicted, the arrest would stay on their record even though it was proven to be wrongful.
. The analysis in this case conflicts with the analysis employed by this Court in a prior memorandum opinion.
See S.P.S. v. State,
No. 03-09-00151-CV,
