How do you think it became Spain? Do you think some African dudes one day started saying "Hola, ahora somos Españoles?"
Nah, some Portuguese guys with weapons showed up in 1415 (it was Portugal before becoming Spanish through marriage). You know what you call it when people with weapons expand their territory on other continents? Imperialism.