What did Homer Plessy do that the Supreme Court ruled was illegal?

Select one:

ASat on a railroad car designated for Whites.
BVoted in an election without passing a test.
CWorked as a doctor at a hospital without going to medical school.