Original: In 1501 , following the death of Ferdinand II of Naples and his succession by his uncle Frederick , Ferdinand of Aragon 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 .
Simplified: In 1501 , following the death of Ferdinand II of Naples and his succession by his uncle Frederick , Ferdinand of Aragon signed an agreement with Charles VIIIs successor , Louis XII .