The presence of an external monarchy had set the town planning of Naples around the center of the royal power, constituting an alternative urban core, formed by the port and by the two main castles adjacent to it, Castel Capuano and Castel dell'Ovo. This relationship between the royal court and town planning had already manifested itself with Frederick II, Holy Roman Emperor, who in the 13th century, in the Swabian statute had concentrated greater attention on castles neglecting the city walls. To the two existing castles the Anjevins added the main, Castel Nuovo ("Chastiau neuf"), which was not just a fortification but above all his magnificent palace.