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

# 51 Pa.C.S. § 5901 — Error of law; lesser included offense.

- **Citation**: 51 Pa.C.S. § 5901
- **Node Type**: section
- **Jurisdiction**: Pennsylvania (state)
- **Code Body**: Pennsylvania Consolidated Statutes (Aug. 2026 snapshot) (Pa.C.S.)
- **Official Source**: [https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=51](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=51)
- **Canonical URL**: [https://corpuslaw.us/codes/pennsylvania/title-51/chapter-59/section-5901](https://corpuslaw.us/codes/pennsylvania/title-51/chapter-59/section-5901)
- **Semantic URL**: [https://corpuslaw.us/codes/pennsylvania/title-51/chapter-59/section-5901](https://corpuslaw.us/codes/pennsylvania/title-51/chapter-59/section-5901)

## Hierarchy

Title 51 > Chapter 59

## Text

(a) Error of law.--A finding or sentence of a court-martial shall not be held incorrect on the grounds of an error of law unless the error materially prejudices the substantial rights of the accused.

(b) Approval of lesser offense.--Any reviewing authority with the power to approve or affirm a finding of guilty may approve or affirm so much of the finding as includes a lesser included offense.
