In 1890 the state of Louisiana passed the separate car act which stated that people had to be in separate train cars based on if they were black or white. And Homer plessy was a black man and he sat in the white only car. A cop then asked him to leave and he wouldnt. They instead drug him off the car. This sparked a court case that lasted for multiple years.