The Civil Rights Act of 1964 was responsible for outlawing segregation across the country, and for also banning discrimination in hiring processes based on sex, religion or race. While initially passed in 1964, the bill was added upon in the years following to clarify and strengthen the effect of the bill.
The Civil War was a defining point in United States history for freedom. Although slavery was abolished and black men were seen as free, discrimination still was widespread. Legislation wasn't put in place to stop discrimination until John F. Kennedy created the Civil Rights Act of 1964 and was able to get it passed by Congress.