Answer:
The Sedition Act ( Enacted in 1918) was a federal law that made it illegal to speak out against the government during World War I. The government had the authority to punish a wide range of disloyal speech and activities such as obstructing the sale of U.S. bonds, displaying a German flag, or giving a speech that supported the enemy’s cause.
The Espionage Act was law that punished acts of spying and sabotage during World War I. It was crime to interfere with U.S. war efforts by conveying false information about the war or impeding military recruitment.
I hope I helped!