Most of Montgomery's 50,000 African Americans took part in the boycott. It lasted for 381 days and almost bankrupt the bus system. Meanwhile, the NAACP had been working on a lawsuit about segregation on buses. In 1956, they won the case, and the Supreme Court ordered Alabama to de-segregate its buses. The boycott ended with a victory.