The Jim Crow laws were state and local laws in the United States enacted between 1876 and 1965. They mandated de jure racial segregation in all public facilities in Southern states of the former Confederacy, with a supposedly "separate but equal" status for American Afrikanss. The separation led to treatment, financial support and accommodations that were usually inferior to those provided for white Americans, systematizing a number of economic, educational and social disadvantages. De jure segregation mainly applied to the Southern United States. Northern segregation was generally de facto, with patterns of segregation in housing enforced by covenants, bank lending practices, and job discrimination, including discriminatory union practices for decades.
Some examples of Jim Crow laws are the segregation of public schools, public places, and public transportation, and the segregation of restrooms, restaurants, and drinking fountains for whites and blacks. The U.S. military was also segregated. These Jim Crow Laws were separate from the 1800–1866 Black Codes, which had previously restricted the civil rights and civil liberties of African Americans. State-sponsored school segregation was declared unconstitutional by the Supreme Court of the United States in 1954 in Brown v. Board of Education. Generally, the remaining Jim Crow laws were overruled by the Civil Rights Act of 1964 and the Voting Rights Act of 1965.