The Civil Rights Act of 1964 was intended to end discrimination based on race, color, religion, or national origin in the United States. The act gave federal law enforcement agencies the power to prevent racial discrimination in employment, voting, and the use of public facilities.