before this, several different kings had ruled different countries in what is now called spain. two of these countries, castile and aragon, came together when the king of aragon, ferdinand ii, married the queen of castile, isabella.