Vikings, to battle their rivals; Duke Sergius IV hired Rainulf Drengot to wage war on Capua for him.
By 1137, the Normans had attained great influence in Italy, controlling previously independent principalities and duchies such as Capua, Benevento, Salerno, Amalfi, Sorrento and Gaeta; it was in this year that Naples, the last independent duchy in the southern part of the peninsula, came under Norman control. The last ruling duke of the duchy, Sergius VII, was forced to surrender to Roger II, who had proclaimed himself King of Sicily seven years earlier; Naples thus joined the Kingdom of Sicily, where Palermo was the capital.
Kingdom of Naples
Norman to Angevin
After a period of Norman rule, the Kingdom of Sicily went to the Hohenstaufens, a German royal house. The University of Naples Federico II, the oldest state university in the world, was founded by Frederick II, making Naples the intellectual centre of the kingdom. Conflict between the Hohenstaufens and the Papacy led in 1266 to Pope Innocent IV crowning the Angevin duke Charles I King of Sicily: Charles officially moved the capital from Palermo to Naples, where he resided at the Castel Nuovo. During this period, many examples of Gothic architecture sprang up around Naples, including the Naples Cathedral, which remains the city's main church.
In 1282, after the Sicilian Vespers, the Kingdom of Sicily was split in half. The Angevin Kingdom of Naples included the southern part of the Italian peninsula, while the island of Sicily became the Aragonese Kingdom of Sicily. Wars between the competing dynasties continued until the Peace of Caltabellotta in 1302, which saw Frederick III recognized as king of Sicily, while Charles II was recognised as king of Naples by Pope Boniface VIII. Despite the split, Naples grew in importance, attracting Pisan and Genoese merchants, Tuscan bankers, and some of the most prominent Renaissance artists of the time, such as Boccaccio, Petrarch