Jim Crow was a system of racial segregation and discrimination that was enforced in the United States from the late 19th century until the mid-20th century.