In 1501 , following the death of Ferdinand II of Naples and accession of his uncle Frederick , Ferdinand signed an agreement with Charles VIII 's successor , Louis XII , who had just successfully asserted his claims to the Duchy of Milan , to partition Naples between them , with Campania and the Abruzzi , including Naples itself , going to the French and Ferdinand taking Apulia and Calabria .
Louis had just successfully asserted his claims to the Duchy of Milan , and they agreed to partition Naples between them , with Campania and the Abruzzi , including Naples itself , going to the French and Ferdinand taking Apulia and Calabria .