THE STATE OF TEXAS
v.
BONIFACIO HERNANDEZ AVILA

Tex. App.—San Antonio | 2025-10-10
No. 04-22-00892-CR
Chief Justice Martinez, Justice Chapa, Justice Valenzuela
State v. Bonifacio Hernandez Avila, No. 04-22-00892-CR (Tex. App.—San Antonio Oct. 10, 2025, no pet.) (mem. op., not designated for publication) 2025 TXL 7565 Fourth Court of Appeals (2025)

AI-generated. These summaries, headnotes, and key points are machine-generated and may contain errors or omissions. Always verify against the full opinion text below. Not legal advice.

Synopsis

Bonifacio Hernandez Avila challenged his misdemeanor criminal trespass charge through pretrial habeas, claiming selective prosecution based on gender in violation of Equal Protection. The court reversed the trial court's dismissal and held the evidence was insufficient to prove the prosecution was motivated by discriminatory purpose against males.


Holding

A selective prosecution claim is cognizable in pretrial habeas. To establish selective prosecution, a claimant must prove by exceptionally clear evidence both a discriminatory effect and a discriminatory purpose, requiring a showing that the law was applied so unequally and oppressively against a particular class that equal protection was denied.


Headnotes

[1] A selective prosecution claim based on gender or other protected status may be cognizable in a pretrial application for habeas corpus if the facts support such a claim.

[2] To establish a prima facie case of selective prosecution, the claimant must prove by exceptionally clear evidence both that the prosecution policy had a discriminatory ef…

Previewing 2 of 3 headnotes on this case. TexLaw’s editorially structured points of law — every proposition, pinpointed — are free with an account.

Create a free TexLaw account to see it all

Key Quotes

“To establish a prima facie case of selective prosecution or selective enforcement, the claimant must prove with exceptionally clear evidence that: 1. The prosecutorial policy had a discriminatory effect; and 2. it was motivated by a discriminatory purpose.”

This establishes the two-prong test that an appellant must meet to succeed on a selective prosecution claim.

Previewing 1 of 2 key quotes on this case — the court’s exact language, pinpointed, free with an account.

Create a free TexLaw account to see it all

Facts & Procedural History

Hernandez Avila was arrested and charged with misdemeanor criminal trespass as part of Operation Lone Star. He filed a pretrial habeas application arg…

The full statement of facts, procedural history, and disposition for this case are free with an account.

Create a free TexLaw account to see it all

© FLexlaw, Inc. — AI-generated enrichments are proprietary. All rights reserved.

Decision of October 10, 2025
Memorandum Opinion
Justice Rios

p. 10Fourth Court of Appeals

San Antonio, Texas

MEMORANDUM OPINION

No. 04-22-00892-CR

The STATE of Texas,

Appellant

v.

Bonifacio HERNANDEZ AVILA,

Appellee

From the County Court, Kinney County, Texas Trial Court No. 13945CR Honorable Dennis Powell, Judge Presiding

Opinion by:

Irene Rios, Justice

Sitting en banc1: Rebeca C. Martinez, Chief Justice

Irene Rios, Justice

Lori I. Valenzuela, Justice

Adrian A. Spears II, Justice

H. Todd McCray, Justice

Velia J. Meza, Justice

Delivered and Filed: October 10, 2025

REVERSED AND RENDERED The State of Texas appeals the trial court’s order granting the appellee’s request for habeas relief. On July 24, 2024, this court affirmed the trial court’s judgment and ordered the case dismissed with prejudice. On October 9, 2024, the Court of Criminal Appeals issued its opinion in 04-22-00892-CR Ex parte Aparicio, 707 S.W. 3d 189 (Tex. Crim. App. 2024), cert. denied sub nom. Aparicio v. Texas, No. 24-6057, 2025 WL 1787753 (U.S. June 30, 2025). Subsequently, we acted on our own motion to reconsider this appeal en banc in light of Aparicio. Id. On August 19, 2025, we issued an opinion and judgment reversing the trial court’s judgment and remanding for further proceedings consistent with the opinion. We now sua sponte withdraw our August 19, 2025 opinion and judgment in this case, in order to render judgment. See TEX. R. APP. P. 43.3 (appellate court should render judgment trial court should have rendered, except when remand is necessary for further proceedings or for another trial in the interests of justice); see also State v. Lopez- Miranda, No. 04-23-00153-CR, 2024 WL 3954213, at *3 (Tex. App.—San Antonio Aug. 28, 2024, no pet.) (mem. op., not designated for publication) (reversing and rendering judgment dismissing habeas application and reinstating information). For the following reasons, we reverse the trial court’s order, render judgment denying Appellee’s application for pretrial habeas relief, and reinstate the information charging Appellee with the misdemeanor offense of criminal trespass.

BACKGROUND

Appellee, Bonifacio Hernandez Avila, was arrested and charged with misdemeanor criminal trespass as a part of Operation Lone Star (“OLS”). Appellee subsequently filed a pretrial application for writ of habeas corpus, arguing that the State engaged in selective prosecution by choosing to prosecute men for criminal trespass but not to prosecute similarly situated women for the same offense, in violation of the Equal Protection clauses of the United States and Texas constitutions. The trial court granted Appellee’s habeas application and ordered the case dismissed.2 The State appealed.

p. 1104-22-00892-CR

DISCUSSION

On appeal, the State argues that Appellee’s selective-prosecution claim is not cognizable in a pretrial habeas proceeding and that the trial court erred by granting the application for writ of habeas corpus.

A. Standard of Review

Generally, we review a trial court’s ruling on a pretrial application for a writ of habeas corpus for an abuse of discretion. See Kniatt v. State, 206 S.W. 3d 657, 664 (Tex. Crim. App. 2006); Ex parte Jarreau, 623 S.W. 3d 468 (Tex. App.—San Antonio 2020, pet. ref’d). “However, when, the resolution of the ultimate issue turns on the application of purely legal standards, we review the trial court’s ruling de novo.” Jarreau, 623 S.W. 3d at 472. We will uphold the trial court’s ruling “if that ruling was supported by the record and was correct under any theory of law applicable to the case.” Armendariz v. State, 123 S.W. 3d 401, 404 (Tex. Crim. App. 2003) (citing State v. Ross, 32 S.W. 3d 853, 856 (Tex. Crim. App. 2000)). “That rule holds true even if the trial court gave the wrong reason for its ruling.” Armendariz, 123 S.W. 3d at 404 (citing Romero v. State, 800 S.W. 2d 539, 543 (Tex. Crim. App. 1990)).

B. Cognizability

The State, in its brief, argues that a pretrial application for writ of habeas corpus based on a claim of selective prosecution is not cognizable on appeal. Appellee, however, disputes this argument.

Antonio 1993, pet. ref’d). As a result, Appellee’s habeas application should have been “docketed separately from the substantive cause and given a different cause number.” Carter, 849 S.W. 2d at 411 n.2. Nevertheless, it is clear from the trial court’s order that it granted Appellee’s request for habeas relief in the habeas proceeding—in which Appellee had requested that the trial court dismiss the underlying criminal case with prejudice—and, in doing so, effectively dismissed the criminal charges in the underlying criminal case.

04-22-00892-CR

From our review, the facts and arguments in this case are substantively the same as those in Ex parte Aparicio, in which the Court of Criminal Appeals concluded that the Appellee’s claim of selective arrest and prosecution was cognizable under the facts of that case. 707 S.W. 3d at 202. Accordingly, we conclude that Appellee’s claim is cognizable.

C. Selective Prosecution

To establish a prima facie case of “selective prosecution or selective enforcement, the claimant must prove with ‘exceptionally clear evidence’ that: 1. The prosecutorial policy had a discriminatory effect; and 2. it was motivated by a discriminatory purpose.” Aparicio, 707 S.W. 3d at 204 (citations omitted). The second prong requires the claimant “definitively show that an otherwise facially neutral law is being administered in bad faith—that it was ‘directed so exclusively against a particular class of persons . . . with a mind so unequal and oppressive’ that equal protection of the law was denied.” Id. at 208 (emphasis in original) (quoting U.S. v. p. 12Armstrong, 517 U.S. 456, 464–65 (1996)). In other words, the claimant must show by “‘exceptionally clear evidence’ that the OLS mindset administering the facially neutral criminal trespass law was ‘so unequal and oppressive’ against him because he is male.” Id. at 210 (emphasis in original) (citations omitted).

The evidence here is substantively the same as the evidence presented in Aparicio. Id. at 189. We therefore conclude, based on our review of the entire record and after considering the parties’ arguments, that the evidence is insufficient to show that the State of Texas’ policy was motivated by a discriminatory purpose. Id. at 204.

CONCLUSION

Because Appellee failed to establish the second prong of his selective prosecution claim, the trial court erred in granting his application for writ of habeas corpus. Accordingly, we reverse

04-22-00892-CR

the trial court’s order granting Appellee habeas relief, render judgment denying Appellee’s habeas application, and reinstate the information charging Appellee with the misdemeanor offense of criminal trespass.

Irene Rios, Justice

DO NOT PUBLISH

- 5 -

Footnotes
1 Justice Lori Massey Brissette is not participating.
2 The trial court clerk filed Appellee’s habeas application as a document in the same cause number as the underlying criminal proceeding, but “a habeas proceeding is a separate proceeding from a criminal prosecution.” Ex parte Sheffield, 685 S.W. 3d 86, 100 (Tex. Crim. App. 2023); see Ex parte Carter, 849 S.W. 2d 410, 411 n.2 (Tex. App.—San
Decision of June 25, 2025
Order

p. 9Fourth Court of Appeals

San Antonio, Texas

June 25, 2025

No. 04-22-00892-CR

The STATE of Texas,

Appellant

v.

Bonifacio HERNANDEZ AVILA,

Appellee

From the County Court, Kinney County, Texas

Trial Court No. 13945CR Honorable Dennis Powell, Judge Presiding

O R D E R

On June 4, 2025 Virginia Raymond and Julius G. Ott filed their joint Motion to Designate New Lead Counsel Pursuant to Texas Rules of Appellate Procedure 6.1, and Motion to Withdraw Pursuant to Rule 6.5(d). Upon review of the joint motion, this court finds the following:

Motion to Designate New Lead Counsel

Julius G. Ott’s Motion to Designate New Lead Counsel Pursuant to Texas Rules of Appellate Procedure 6.1, signed by both Julius G. Ott and the withdrawing lead counsel, Virginia Raymond, contains all of the information required by Rule 6.1(c), as well as Rule 6.5(d). See TEX. R. APP. P. 6.1(c), 6.5(d). Therefore, we GRANT Julius Ott’s Motion to Designate Lead Counsel.

Motion to Withdraw

Virginia Raymond’s Motion to Withdraw satisfies the requirements of Texas Rule of Appellate Procedure 6.5. See Id. R. 6.5(b), (d). Therefore, we GRANT Virginia Raymond’s Motion to Withdraw.

Accordingly, we DIRECT the clerk of this court to update this court’s records to show Appellee’s new attorney of record in this appeal. It is so ORDERED June 25, 2025.

PER CURIAM

ATTESTED TO:

Caitlin A. McCamish, Clerk of Court
Decision of May 6, 2025
Order

p. 8Fourth Court of Appeals

San Antonio, Texas

May 6, 2025

No. 04-22-00892-CR

The STATE of Texas,

Appellant

v.

Bonifacio HERNANDEZ AVILA,

Appellee

From the County Court, Kinney County, Texas

Trial Court No. 13945CR Honorable Dennis Powell, Judge Presiding

O R D E R

On March 18, 2025 the State filed the State’s Supplemental Brief. In its brief, the State presented a fact-based argument: “When comparing the facts presented to the trial court in this case and the facts presented in Aparicio II, it is fundamentally clear that there is nothing different in the two cases.” The brief, however, violates Rule 38 of the Texas Rules of Appellate Procedure in that it fails to contain even a single citation to the record. See TEX. R. APP. P. 38.1(i), 38.2(a)(1); Valadez v. Avitia, 238 S.W. 3d 843, 845 (Tex. App.—Waco 2007); Arellano v. Magana, 315 S.W. 3d 576, 577 (Tex. App.—El Paso 2010). While substantial compliance with Rule 38 is sufficient, this court may order a party to amend, supplement or redraw a brief if it flagrantly violates Rule 38. See Tex. R. App. P. 38.9(a). We conclude that the formal defect described above constitutes a flagrant violation of Rule 38.

We therefore ORDER the State to file an amended brief that complies with the Texas Rules of Appellate Procedure within 45 days from the date of this order. If the State fails to file an amended brief that complies with the rules of appellate procedure, this court may strike the brief and prohibit the State from filing another. See TEX. R. APP. P. 38.9(a); see also id. R. 38.8(a)(1). No further extensions of time will be granted. Furthermore, we GRANT the State’s request, presented in its brief, that the Motion for Abatement of Proceedings, Motion for Stay in Proceedings, and Conditional Motion for Extension of Time the State previously filed in this case be withdrawn and DISMISS said motions.

On March 21, 2025, Appellee filed his Motion for Extension of Time requesting a 30 day extension to file his amended brief if this court were to deny the State’s Motion to Stay Proceedings. We GRANT in part Appellee’s Motion and ORDER Appellee to file an amended brief, if any, within 25 days from the date of this order. No further extensions of time will be granted.

It is so ORDERED May 6, 2025.

PER CURIAM

ATTESTED TO:

Caitlin A. McCamish, Clerk of Court
Decision of November 21, 2024
Order

p. 7Fourth Court of Appeals

San Antonio, Texas

November 21, 2024

No. 04-22-00892-CR

The STATE of Texas,

Appellant

v.

Bonifacio Hernandez AVILA,

Appellee

From the County Court, Kinney County, Texas

Trial Court No. 13945CR Honorable Dennis Powell, Judge Presiding

O R D E R

Sitting en banc: Rebeca C. Martinez, Chief Justice

Luz Elena D. Chapa, Justice

Irene Rios, Justice

Beth Watkins, Justice

Liza A. Rodriguez, Justice

Lori I. Valenzuela, Justice

Lori Massey Brissette, Justice

On July 24, 2024, this court issued an opinion and judgment affirming the trial court’s order granting Appellee habeas relief and dismissing his criminal case with prejudice. On August 1, 2024, the State filed a motion for en banc reconsideration of this court’s opinion and judgment, arguing that Appellee’s habeas claim based on equal protection is not cognizable in a pretrial application for writ of habeas corpus. On October 9, 2024, however, the Texas Court of Criminal Appeals held that a habeas claim based on equal protection is cognizable in a pretrial habeas proceeding. Ex parte Aparicio, No. PD-0461-23, 2024 WL 4446878, at *7–8 (Tex. Crim. App. Oct. 9, 2024). The court therefore denies the State’s motion.

Nevertheless, acting on its own motion, the court has voted to reconsider this case en banc. See TEX. R. APP. P. 19.1(b); 49.7. This appeal remains pending before the en banc court. The court further concludes that justice requires that the parties be afforded an opportunity to rebrief the issues in light of the Court of Criminal Appeals’ decision in Aparicio. See TEX. R. APP. P. 38.7; Aparicio, 2024 WL 4446878.

Accordingly, we ORDER the State to file its amended brief, if any, by January 21, 2025. Appellee’s amended brief, if any, will be due 60 days after the filing of the State’s amended brief. Requests for extension of time will be strongly disfavored.

Decision of July 24, 2024
Memorandum Opinion
Justice Chapa

p. 5Fourth Court of Appeals

San Antonio, Texas

MEMORANDUM OPINION

No. 04-22-00892-CR

The STATE of Texas,

Appellant

v.

Bonifacio Hernandez AVILA,

Appellee

From the County Court, Kinney County, Texas Trial Court No. 13945CR Honorable Dennis Powell, Judge Presiding

Opinion by: Luz Elena D. Chapa, Justice

Sitting: Rebeca C. Martinez, Chief Justice

Luz Elena D. Chapa, Justice

Lori I. Valenzuela, Justice

Delivered and Filed: July 24, 2024

AFFIRMED The State of Texas appeals the trial court’s order granting Bonifacio Hernandez Avila’s requested habeas relief and dismissing his criminal case with prejudice. We affirm.

BACKGROUND

On March 6, 2021, Governor Greg Abbott directed the Texas Department of Public Safety (“DPS”) to initiate Operation Lone Star (“OLS”) and “devote additional law enforcement resources toward deterring illegal border crossing and protecting [] border communities.” He further directed “DPS to use available resources to enforce all applicable federal and state laws to 04-22-00892-CR prevent criminal activity along the border, including criminal trespassing, smuggling, and human trafficking, and to assist Texas counties in their efforts to address those criminal activities.” As part of OLS, Avila, a noncitizen, was arrested for criminal trespass on October 13, 2022, in Kinney County. On October 18, 2022, Avila filed an application for writ of habeas corpus seeking dismissal of the criminal charge, arguing his rights had been violated under the Constitution’s Equal Protection Clause and the Texas Constitution’s Equal Rights Amendment. See U.S. CONST. amend. XIV; TEX. CONST. art. I, § 3(a). Specifically, Avila argued that the State’s selective enforcement1 of criminal trespass against men, and not similarly situated women, as part of OLS violated his constitutional rights. The trial court granted the writ and set the matter for an evidentiary hearing on November 18, 2022.

At the hearing, the trial court heard the merits of Avila’s pretrial habeas claim, along with twenty-one other cases, all filed on selective enforcement grounds. We described the evidence presented at this hearing in a previous opinion, State v. Gomez, — S.W. 3d —, No. 04-22-00872- CR, 2023 WL 7552682, at *1–4 (Tex. App.—San Antonio Nov. 15, 2023, pet. filed), as both the habeas claim in Gomez and the habeas claim in the instant case were heard at the same time. After considering the evidence presented at the hearing, on December 21, 2022, the trial court found that Avila had presented a prima facie selective-enforcement claim on the basis of equal protection and further found that the State had not met its burden of justifying the discriminatory treatment.

p. 604-22-00892-CR

Consequently, the trial court granted Avila’s requested relief and “order[ed] the criminal prosecution against Applicant be dismissed with prejudice.” The State appealed.

DISCUSSION

In its brief, the State argues the trial court erred in granting relief on Avila’s selectiveenforcement equal protection claim for the following three reasons: (1) his claim is not cognizable in a pretrial habeas proceeding; (2) he did not present a prima facie case of selective-enforcement on the basis of a violation of his equal protection rights; and (3) the State met its burden of showing its policy passes “the strictest of scrutiny.” These are the same arguments brought by the State in Gomez, 2023 WL 7552682, at *4. For the reasons enunciated in Gomez, we hold that Avila’s claim is cognizable in a pretrial habeas proceeding, that the trial court did not abuse its discretion in determining that Avila met his burden of showing a prima facie claim for selective enforcement on the basis of gender discrimination, and that the trial court did not abuse its discretion in determining that the State had not met its burden to justify its discriminatory conduct under either strict scrutiny (Avila’s state claim) or intermediate scrutiny (Avila’s federal claim). See id. at *4– 6; Ex parte Marcos-Callejas, — S.W. 3d —, No. 04-23-00327-CR, 2024 WL 2164653, at *3–4 (Tex. App.—San Antonio May 15, 2024, no pet. h.); Ex parte Aparicio, 672 S.W. 3d 696, 716 (Tex. App.—San Antonio 2023, pet. granted). Therefore, we affirm the trial court’s order granting Avila habeas relief and dismissing his criminal case with prejudice. Luz Elena D. Chapa, Justice

DO NOT PUBLISH

- 3 -

Footnotes
1 The terms “selective prosecution” and “selective enforcement” are sometimes used interchangeably, although they are distinct claims. See Ex parte Marcos-Callejas, — S.W. 3d —, No. 04-23-00327-CR, 2024 WL 2164653, at *2 (Tex. App.—San Antonio May 15, 2024, no pet. h.) (citations omitted). Here, while Avila’s pretrial habeas application sought dismissal on “selective-prosecution” grounds, the evidence Avila presented in his application and at the hearing shows that under OLS, law enforcement officers arrested and charged men, but not women, for criminal trespass— evidence that indicates Avila was asserting a selective-enforcement claim. See id. at *2–3 & n.2. Moreover, the trial court, in its order granting Avila habeas relief, found that Avila was “the target of selective enforcement” and that “the unconstitutional prosecution is fully implemented at the level of arrest of only male suspects.” We therefore conclude that Avila effectively presented a selective-enforcement claim and that the trial court construed his claim as one for selective enforcement, and we will refer to his claim as a selective-enforcement claim. See id. at *3.
Decision of August 28, 2023
Order

p. 4Fourth Court of Appeals

San Antonio, Texas

August 28, 2023

No. 04-22-00892-CR

The STATE of Texas,

Appellant

v.

Bonifacio Hernandez AVILA,

Appellee

From the County Court, Kinney County, Texas

Trial Court No. 13945CR Honorable Dennis Powell, Judge Presiding

O R D E R

On August 8, 2023, the State of Texas filed a Motion to Abate Proceedings. Appellee then filed a Response in Opposition to the State’s Motion to Abate. After consideration, the State’s motion is denied.

Decision of May 3, 2023
Order

p. 3Fourth Court of Appeals

San Antonio, Texas

May 3, 2023

No. 04-22-00892-CR

The STATE of Texas,

Appellant

v.

Bonifacio HERNANDEZ AVILA,

Appellee

From the County Court, Kinney County, Texas

Trial Court No. 13945CR Honorable Dennis Powell, Judge Presiding

O R D E R

On April 11, 2023, appellant, the State of Texas, filed a motion for extension of time to file its brief and to consolidate this appeal with twenty-one other appeals for purposes of briefing. On April 21, 2023, we issued an order granting the motion in part as to the State’s request for an extension of time, and we held under advisement the State’s motion as to its request to consolidate. After due consideration, we DENY IN PART the State’s motion as to its request to consolidate.

Decision of April 21, 2023
Order

p. 2Fourth Court of Appeals

San Antonio, Texas

April 21, 2023

No. 04-22-00892-CR

The STATE of Texas,

Appellant

v.

Bonifacio Hernandez AVILA,

Appellee

From the County Court, Kinney County, Texas

Trial Court No. 13945CR Honorable Dennis Powell, Judge Presiding

O R D E R

On April 11, 2023, appellant, the State of Texas, filed a motion for extension of time to file its brief and to consolidate this appeal with twenty-one other appeals for purposes of briefing. The State’s motion is GRANTED IN PART as to its request for an extension of time. It is ORDERED that the State’s brief is due on April 21, 2023. We hold under advisement the State’s motion as to its request to consolidate.

Decision of March 9, 2023
Order

p. 1Fourth Court of Appeals

San Antonio, Texas

March 9, 2023

No. 04-22-00892-CR

The STATE of Texas,

Appellant

v.

Bonifacio Hernandez AVILA,

Appellee

From the County Court, Kinney County, Texas

Trial Court No. 13945CR Honorable Dennis Powell, Judge Presiding

O R D E R

The clerk’s record in this appeal originally was due on February 14, 2023, and the county clerk has been granted one previous extension until February 28, 2023. On March 7, 2023, the clerk filed a second notification of late record stating: “[o]ur appeals prom [sic] has crashed on Idocket and is being worked on to correct.” The county clerk requests an extension until March 22, 2023. The request is GRANTED and the county clerk is hereby ORDERED to file the clerk’s record no later than March 22, 2023.


Citator

Authorities Cited (13 total)

View all 13 cited authorities →

Statutes and Rules Cited

Full citator, related cases, and AI research tools

Open in TexLaw