Suburbanisation
In the main city, different ethnic and economic groups lived together. When they move out the suburbs, they will often segregate (living in some suburbs may be more expensive, so that poorer people won't move there). Also, ethnic communities that were mixed in the city, may get segregated in the suburbs.