The correct response is:
The Spanish established their language when they colonized the territories.
This reflects the historical context of colonization in South America, where Spanish explorers and settlers spread their language as they established control over the region.