The people who opposed the Sedition Act of 1918 were the socialists and anti- war activists. The act was passed to punish anyone who talks ill or give false writings about the US government or military.
This law however was believed to be an infringement on the right of the citizen freedom of speech.