What was the purpose of the Espionage and Sedition Acts that were passed during ​World War I​?

to prevent spies from gaining information about U.S. submarines


to eliminate communists from the United States


to protect civil liberties


to reduce debate and dissent over U.S. participation in the war