What is the Sedition Act?

President Woodrow Wilson was concerned that war dissenters in time of war would prove a tremendous threat to morale. In response he pushed for the passage of the Sedition Act of 1918 which forbade Americans from using profane or abusive language about the US government, the flag or the armed forces.