What was the plessy vs Ferguson case?

It legalized separate but equal.