The Jim Crow laws were a number of laws requiring racial segregation in the United States. These laws were enforced in different states between 1876 and 1965. "Jim Crow" laws provided a systematic legal basis for segregating and discriminating against African Americans. The laws first appeared after the Civil War and the Reconstruction Era and were enforced through the mid-twentieth century. They were about segregating black and white people in all public buildings. "Jim Crow" was a racist term for a black person. Black people were usually treated worse than white people. This segregation was also done in the armed forces, schools, restaurants, on buses and in what jobs blacks got. In 1954, the US Supreme Court ruled that such segregation in state-run schools was against the US Constitution. The decision is known as "Brown v. Board of Education". The other Jim Crow laws were abolished by the Civil Rights Act of 1964 and the Voting Rights Act of 1965. The National Association for the Advancement of Colored People (NAACP) fought against the Jim Crow laws.