> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# La. Code Crim. Proc. art. 538 — Effect of sustaining motion to quash

- **Citation**: La. Code Crim. Proc. art. 538
- **Node Type**: section
- **Jurisdiction**: Louisiana (state)
- **Code Body**: Louisiana Revised Statutes, Codes and Constitution (through the 2025 First Extraordinary Session, with 2026 Regular Session changes merged by the Legislature by Nov. 28, 2026 or built from the enrolled 2026 acts) (La. Laws)
- **Official Source**: [https://legis.la.gov/legis/Law.aspx?d=112605](https://legis.la.gov/legis/Law.aspx?d=112605)
- **Canonical URL**: [https://corpuslaw.us/codes/louisiana/code-of-criminal-procedure/section-538](https://corpuslaw.us/codes/louisiana/code-of-criminal-procedure/section-538)
- **Semantic URL**: [https://corpuslaw.us/codes/louisiana/code-of-criminal-procedure/section-538](https://corpuslaw.us/codes/louisiana/code-of-criminal-procedure/section-538)

## Hierarchy

Division CCRP — Code of Criminal Procedure

## Text

538. Effect of sustaining motion to quash

The court shall order the defendant discharged from custody or bail, as to that charge, when it sustains a motion to quash based upon the ground that:

(1) The offense is not punishable under a valid statute;

(2) Trial for the offense charged would constitute double jeopardy;

(3) The time limitation for the institution of prosecution or for the commencement of trial has expired; or

(4) The court has no jurisdiction of the offense charged.

In other cases, when a motion to quash is sustained, the court may order that the defendant be held in custody or that his bail be continued for a specified time, pending the filing of a new indictment.
