What was the main reason that Spain sent government officials to its American colonies?