The lawsuit eventually went to the United States Supreme Court. After years of work, Thurgood Marshall and a team of other NAACP lawyers won the case. The Supreme Court ruled that segregated schools were illegal. All nine Supreme Court judges agreed.