 Court challenges overturned the white primary system, but many states then passed laws that authorized political parties to set up the rules for their own systems, such as the white primary.Texas, for instance, passed such a state law in 1923.It was used to bar Mexican Americans as well as black Americans from voting; it survived challenges to the US Supreme Court until the 1940s.