<human>:  When was the Espionage Act passed?
<bot>: The Espionage Act was passed in 1917, during World War I. It was designed to protect national security by making it a crime to disclose classified information.