 Alonso was well educated and a formidable military commander.He fought in the wars in Flanders, and afterwards, as an admiral, in the campaigns in Málaga and Sicily.Returning to Madrid, he fought in the Castilian War of the Communities, opposing the rebels against Emperor Charles V. For this, Charles rewarded him with the position of corregidor of Cáceres, and later named him treasurer of New Spain.