An unidentified "adversary" hacked into the email system for the Library of Congress, accessing information sent via email between January and September 2024, the Library said.
The library shared news of the "cyber breach" with some Congressional offices, and NBC News obtained a copy of the message on Saturday morning.
Law enforcement and the Capitol are investigating the hack. It is not yet clear who the adversary is or when precisely the hack took place.
The Library of Congress, which manages the world's largest collection of books, photographs, recordings and other media, is located on the grounds of the U.S. Capitol complex. U.S. legislators and their staff use the library to research laws and the legislative process.
Get top local stories in San Diego delivered to you every morning. Sign up for NBC San Diego's News Headlines newsletter.
However, the House and Senate use different email networks than the Library of Congress, and the library says those networks "were not compromised in any way."
The U.S. Copyright Office system was also not compromised, the library said in its message to Congress.
The only things affected were "email communications between congressional offices and some Library staff, including the Congressional Research Service," sent between January and September of this year.
"The Library has mitigated the vulnerability that the adversary used to access the environment and has taken measures to prevent such incidents in the future," the note sent to Congressional offices said.