> 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).

# 48 U.S.C. § 872 — Habeas corpus; mandamus; suit to restrain assessment or collection of taxes

- **Citation**: 48 U.S.C. § 872
- **Node Type**: section
- **Jurisdiction**: United States (federal)
- **Code Body**: United States Code (USC)
- **Official Source**: [https://uscode.house.gov/download/releasepoints/us/pl/119/95/xml_usc48@119-95.zip](https://uscode.house.gov/download/releasepoints/us/pl/119/95/xml_usc48@119-95.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/federal/us-code/title-48/chapter-4/subchapter-iv/section-872](https://corpuslaw.us/codes/federal/us-code/title-48/chapter-4/subchapter-iv/section-872)
- **Semantic URL**: [https://corpuslaw.us/codes/federal/us-code/title-48/chapter-4/subchapter-iv/section-872](https://corpuslaw.us/codes/federal/us-code/title-48/chapter-4/subchapter-iv/section-872)

## Hierarchy

Title 48 — Territories and Insular Possessions > Chapter 4 > Subchapter IV

## Text

The supreme and district courts of Puerto Rico and the respective judges thereof may grant writs of habeas corpus in all cases in which the same are grantable by the judges of the district courts of the United States, and the district courts may grant writs of mandamus in all proper cases. No suit for the purpose of restraining the assessment or collection of any tax imposed by the laws of Puerto Rico shall be maintained in the United States District Court for the District of Puerto Rico.
