<human>:  When was the Espionage Act passed?
<bot>: The Espionage Act was passed in 1917, during World War I. It made it illegal to pass information to the enemy, and it was amended in the 1950s to include spying and sabotage.