Jim Crow laws were state and local laws that enforced racial segregation in the Southern United States. Other areas in the United States were also affected by formal and informal policies of segregation, but many states outside the South had adopted laws, beginning in the late nineteenth century, that variously banned discrimination in public accommodations and voting.

Southern laws were enacted in the late 19th and early 20th centuries by white Southern Democrat-dominated state legislatures to disenfranchise and remove political and economic gains made by black people during the Reconstruction period.

Jim Crow laws and Jim Crow state constitutional provisions mandated the segregation of public schools, public places, and public transportation, and the segregation of restrooms, restaurants, and drinking fountains between white and black people. Jim Crow laws were enforced until 1965. The decisive action ending segregation came when Congress in bipartisan fashion overcame Southern filibusters to pass the Civil Rights Act of 1964 and the Voting Rights Act of 1965.

More Info: en.wikipedia.org