Civil liberties were restricted in the Civil War through laws passed by Congress. The two most important of these were the Espionage Act of 1917 and the Sedition Act of 1918. What these laws did was essentially to ban criticism of a variety of government activities.