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, with a supposedly "separate but equal" status for black Americans. In reality, this led to treatment and accommodations that were usually inferior to those provided for white Americans, systematizing a number of economic, educational and social disadvantages.
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-66 Black Codes, which had also 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.