This made it illegal for state and local governments to pass laws causing racial discrimination in voting rights, such as poll taxes and literacy tests.