The modern period of the kingdom of Galicia began with the murder or defeat of some of the most powerful Galician lords, such as Pedro Álvarez de Sotomayor, called Pedro Madruga, and Rodrigo Henriquez Osorio, at the hands of the Castilian armies sent to Galicia between the years 1480 and 1486.