Complex sentence: To prevent the refugees from forming ethnic enclaves and minimize their impact on local communities, they were distributed throughout the country; within a few years, many resettled in California and Texas.
Split into simpler sentences: To prevent the refugees from forming ethnic enclaves and to minimize their impact on local communities, they were scattered all over the country. Within a few years, however, many had resettled in California and Texas.