(CNN) On this day in 1964, then-President Lyndon B. Johnson signed the Civil Rights Act into law, preventing discrimination based on race, color, religion, sex, and national origin.

The act essentially ended segregation in public places and banned employment discrimination, and led to other landmark civil rights bills like the 1965 Voting Rights Act, which outlaws voter discrimination, and the 1968 Fair Housing Act, outlawing housing discrimination.

On its 55th birthday, here's how we got this landmark law, which continues to be relevant today.

How the Civil Rights Act came into law

It started with John F. Kennedy, who asked Congress to enact civil rights legislation in 1963. He's the one that created the proposal for the act, at a time when the Civil Rights Movement was in full swing, and minorities were vocalizing their dissatisfaction like never before. In a country where many were still living under Jim Crow laws, the significance is clear.

Read More