<human>:  When was the Espionage Act passed?
<bot>: The Espionage Act was passed in 1917, during World War I. It was originally meant to prevent spies from leaking secrets to the enemy, but it has since been used to prosecute people for sharing information that is not secret, including journalists, lawyers, and whistleblowers.