Jim Crow laws legally enforced racial segregation in the United States from the 1880s to the 1960s, primarily but not exclusively in Southern states. These laws mandated the separation of public places and facilities for blacks and whites, including schools, hospitals, restaurants, public transportation, and other public accommodations. The laws targeted African Americans and prohibited interracial marriage. While some states repealed certain Jim Crow laws in the early 20th century, segregation remained widespread and legal until the Civil Rights Movement of the 1950s and 1960s challenged discrimination and racial segregation, culminating in the Civil Rights Act of 1964.