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-20th century. They were about segregating black and white people in all public buildings.