Giotto. During the 14th century, the Hungarian Angevin king Louis the Great captured the city several times. In 1442, Alfonso I conquered Naples after his victory against the last Angevin king, René, and Naples was unified with Sicily again for a brief period.
Aragonese to Bourbon
Sicily and Naples were separated in 1458, but remained dependencies of Aragon under Ferrante. The new dynasty enhanced Naples' commercial standing by establishing relations with the Iberian peninsula. Naples also became a centre of the Renaissance, with artists such as Laurana, da Messina, Sannazzaro and Poliziano arriving in the city. In 1501, Naples came under direct rule from France under Louis XII, with the Neapolitan king Frederick being taken as a prisoner to France; however, this state of affairs did not last long, as Spain won Naples from the French at the Battle of Garigliano in 1503.
Following the Spanish victory, Naples became part of the Spanish Empire, and remained so throughout the Spanish Habsburg period. The Spanish sent viceroys to Naples to directly deal with local issues: the most important of these viceroys was Pedro Álvarez de Toledo, who was responsible for considerable social, economic and urban reforms in the city; he also supported the activities of the Inquisition.
By the 17th century, Naples had become Europe's second-largest city – second only to London – and the largest European Mediterranean city, with around 250,000 inhabitants. The city was a major cultural centre during the Baroque era, being home to artists such as Caravaggio, Salvator Rosa and Bernini, philosophers such as Bernardino Telesio, Giordano Bruno, Tommaso Campanella and Giambattista Vico, and writers such as Giambattista Marino. A revolution led by the local fisherman Masaniello saw the creation of a brief independent Neapolitan Republic in 1647, though this lasted only a few months before Spanish rule was reasserted. In 1656, an outbreak of bubonic