What Year Did the Jim Crow Laws End?

The Jim Crow laws dealt with segregation in public areas and restrooms,between Black and White people in the US, and ended in 1965. The Jim Crow laws were separate from the Black Codes, which also restricted civil rights and liberties of African Americans.