The laws that enforced segregation in the south were the Jim Crow laws. The laws earned the name "Jim Crow" from a black character in the minstrel shows. States, such as Texas, Mississippi, Oklahoma, California and North Dakota, punished people if they associated with members of another race.
The laws did not allow intermarriage between different races. Businesses were expected to separate their white and black customers. White nurses were not allowed to work in places where blacks were hospitalized. Bus services had different waiting rooms and separate ticket windows for whites and other races. Typically, the laws prevented the association of the whites and people from other races in any way.