 In the 1960s, moderates in the movement worked with Congress to achieve the passage of several significant pieces of federal legislation that overturned discriminatory practices and authorized oversight and enforcement by the federal government.The Civil Rights Act of 1964, which was upheld by the Supreme Court in "Heart of Atlanta Motel, Inc. v. United States (1964)," expressly banned discrimination based on race, color, religion, sex, or national origin in employment practices; ended unequal application of voter registration requirements; and prohibited racial segregation in schools, at the workplace, and in public accommodations.The Voting Rights Act of 1965 restored and protected voting rights for minorities by authorizing federal oversight of registration and elections in areas with historic under-representation of minorities as voters.