From segregation to apartheid