The government used the espionage act of 1917 and the sedition act as an excuse to?

Ban opposition groups from using the U.S. mail service, eliminate public criticism of the President, crack down on the Socialist Party opposition to World War I and to stop people from disseminating anti-draft literature.