The Plessy v. Ferguson Supreme Court

What did the Plessy v. Ferguson Supreme Court decision state and because of upholding segregation in Louisiana, what status did this relegate all African Americans to in United States society for over the next half century?