In 1027, duke
Sergius IV donated the
county of Aversa to a band of
Norman mercenaries led by
Rainulf Drengot, whose support he had needed in the war with the
principality of Capua. In that period he could not imagine the consequences, but this settlement began a process which eventually led to the end of Naples' independence itself. Sergius cemented his position with marital alliances with the Normans, but when these broke down, he was abandoned by his mercenaries and retired to a monastery. His son,
John V, cosied up to
Guaimar IV of Salerno and eventually did homage to him. Naples was the last of the southern Italian states which the Normans had met when they first entered Italy. It survived the fall of the Lombard principalities: Capua, Salerno, Benevento. It had survived the fall of its fellow Greek duchies: Amalfi, Gaeta, Sorrento. In 1137, Duke
Sergius VII was forced to surrender to
Roger II of Sicily, who had had himself proclaimed
King of Sicily seven years earlier. Under the new rulers the city was administered by a
compalazzo (palatine count), with little independence left to the Neapolitan patriciate. In this period Naples had a population of 30,000 and yet got its sustenance from the inland country: commerce activities were mainly delegated to foreign people, mainly from
Pisa and
Genoa. Apart from the church of
San Giovanni a Mare, Norman buildings in Naples were mainly lay ones, notably castles (
Castel Capuano and
Castel dell'Ovo), walls, and fortified gates. ==See also==