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

# 18 U.S.C. § 952 — Diplomatic codes and correspondence

- **Citation**: 18 U.S.C. § 952
- **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_usc18@119-95.zip](https://uscode.house.gov/download/releasepoints/us/pl/119/95/xml_usc18@119-95.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/federal/us-code/title-18/chapter-45/section-952](https://corpuslaw.us/codes/federal/us-code/title-18/chapter-45/section-952)
- **Semantic URL**: [https://corpuslaw.us/codes/federal/us-code/title-18/chapter-45/section-952](https://corpuslaw.us/codes/federal/us-code/title-18/chapter-45/section-952)

## Hierarchy

Title 18 — Crimes and Criminal Procedure > Chapter 45

## Text

Whoever, by virtue of his employment by the United States, obtains from another or has or has had custody of or access to, any official diplomatic code or any matter prepared in any such code, or which purports to have been prepared in any such code, and without authorization or competent authority, willfully publishes or furnishes to another any such code or matter, or any matter which was obtained while in the process of transmission between any foreign government and its diplomatic mission in the United States, shall be fined under this title or imprisoned not more than ten years, or both.
