The Espionage Act, passed in June 1917, provided penalties of 20 years imprisonment and fines up to $10,000 for those convicted of interfering with military recruitment. The law also authorized the Postmaster General to remove treasonable or seditious material from the mail. This measure was quickly challenged in the courts.