Defense Secrets Act of 1911
The Defense Secrets Act of 1911 (Pub. L. 61–470) was one of the first laws in the United States specifically criminalizing the disclosure of government secrets.
Source: Wikipedia — Defense Secrets Act of 1911 (CC BY-SA 4.0)