The Iberian Kingdoms 1500-1530
After the death of Afonso V of Portugal in 1481, his wife Queen Juana of Castile returned to Castile to rule over that kingdom. In 1484 she married Infante Diogo (born in 1450), the Duke of Viseu and Grand Master of the Order of Christ. As consort he assumed the title of King Diego of Castile and would be instrumental in the rule of that kingdom until his death in 1508. Though their marriage would remain childless, he would pursue a policy to continue the "reconquista" of Moorish lands. The conquest of Granada had been accomplished by Afonso V of Portugal and Joana in 1481, and his ambitions turned further south.
In the wake of anti-Muslim violence in Granada, many Moors and to a lesser extent Jews fled to North Africa. In 1488, a Morisco uprising would begin in the newly-conquered Kingdom of Granada, that would take years to subdue. In 1487, King Diego assumed the title of Grand Master of the Order of Calatrava, enabling him to use the order's resources to brutally suppress the Morisco uprising. This was followed by the establishment of Inquisition to monitor the conversion of Muslims and Jews and to establish Catholicism as the sole religion in the Kingdom of Castile. In North Africa especially, the refugees soon turned to piracy against the Christian kingdoms.
To combat piracy, Portugal, Spain and Aragon began to conquer the various small states of North Africa. By 1515, the Portuguese had conquered all of the coastal ports of Morocco in addition to Marrakech and had made the Kingdom of Fez a vassal, however they failed to take Algiers and Mers el Kebir in 1505. The Castilians however, would enjoy more success.
Preoccupation with North Africa caused Castile to pursue a foreign policy of neutrality in Europe, leaving it unfettered to combat Islam. King Diego envisioned a bold policy where he would be able to conquer Egypt and Jerusalem and eventually Constantinople. Backed by the funds of the Orders of Christ and Calatrava, he built a vast army and a navy allowing Castile to take Melilla, Oran, Mers el Kebir, Algiers, Bona, Tunis, and Tripoli by the end of Queen Juana's reign in 1530. In addition, various rulers became vassals of Castile such as the King of Tlemcen.
However, the brutal pillaging of cities such as Tunis where the Muslim population was completely massacred, would lead to war with the Ottomans. The Ottomans for their part would eventually conquer Egypt and were able to briefly take Tunis and Tripoli from the Castilians, however these would be reconquered by Spain in 1536. After King Diego's death, Queen Juana of Castile would die childless in 1530, with the Kingdom of Castile passing to King João III of Portugal, son of Isabela of Castile.
Unlike Portugal and Castile, both Aragon and Navarre would be directly involved with European wars during the late XV and early XVI centuries. In 1485, King Ferdinand II of Aragon married Queen Catherine of Navarre, daughter of Gaston of Foix and Madeleine of Valois, uniting the crowns of Aragon and Navarre. Catherine had inherited the Kingdom of Navarre upon the death of her brother Francis Phoebus in 1483 and became Queen. However, this was contested by her uncle John of Foix, asserting his rights through the Salic Law. A civil war ensued with John of Foix backed by France, however with Aragonese help, Catherine was able to assert her claim to the Navarrese throne. During the war, Aragon had occupied the the Viscounties of Béarn and Narbonne, however these were returned to John of Foix in return in recognition of Catherine's claim in 1492. It was that year that Charles VIII of France sought peace with Aragon in order to pursue his ambitions in Italy, in doing so he ceded Cerdagne and Roussillon to Aragon.
In 1494, upon the death of Ferdinand I of Naples, King Charles VIII of France invaded Italy to claim the throne of the Kingdom of Naples for himself. This brought him into conflict with Ferdinand II of Aragon, reigniting the war with France. Both England and the Habsburgs would ally themselves with Ferdinand II. Eventually, Venice and the Papal States join in the war against France, forming a Holy League and forcing Charles to abandon Italy. This allows Ferrante II (son of Alfonso II of Naples) to ascend the throne. However, his reign is short-lived and he is succeeded by Frederick.
In 1497, peace between Aragon and France is restored, however, Charles VIII dies the following year and is succeeded by Louis XII who decides to occupy the Duchy of Milan along with Genoa in 1499. He signs a pact to split the territories between France and Venice. The following year, Aragon agrees to partition the Kingdom of Naples with France, with King Frederick being taken to France. However, war over the division of the kingdom ensued in 1502, with peace being restored in 1504. France would relinquish Naples, and in exchange Aragon would recognise French possession of Milan and Genoa. In addition, Francis of Valois, heir presumptive to the French throne was to be betrothed to Infanta Maria of Aragon (born 1493).
However, war would once again dominate Italy, with Louis XII would continuing his wars there until his death in 1515. This would pit France against the Habsburgs, the Papal States and England. War between Aragon and France arose once again, however by 1514 the French had been largely expelled from the Peninsula. Seeking peace with Aragon, Louis XII had Francis of Valois married Infanta Maria of Aragon, the third daughter of Ferdinand II of Aragon and Queen Catherine of Navarre. As part of her dowry, the counties of Foix and Bigorre were ceded to France as part of Maria's dowry.
In 1515 Francis of Valois would ascend to the French throne upon the death of Louis XII as Francis I. The following year, in January of 1516 Ferdinand II would die and his eldest daughter Juana (Joana), married to King João III of Portugal would ascend the the Aragonese throne, bringing Portugal and Aragon into a personal union. In February 1517, Queen Catherine of Navarre would die with Juana with Navarre now joining the union of the crowns between Aragon and Portugal.