In African-American history, the post–civil rights era is defined as the time period in the United States since Congressional passage of the Civil Rights Act of 1964, the Voting Rights Act of 1965, and the Fair Housing Act of 1968, major federal legislation that ended legal segregation, gained federal oversight and enforcement of voter registration and electoral practices in states or areas with a history of discriminatory practices, and ended discrimination in renting or buying housing.