When Sforza abandoned Louis' cause, Alfonso seemed to have all his problems solved; however, his relationship with Joanna suddenly worsened, and in May 1423 he had her lover, Gianni Caracciolo, a powerful figure in the Neapolitan court, arrested.
Ketika Sforza mengabaikan Louis, Alfons tampaknya semua masalahnya telah terpecahkan; Namun, hubungannya dengan Giovanna tiba-tiba memburuk, dan pada bulan Mei 1423 ia membuat kekasihnya, Gianni Caracciolo, seorang tokoh kuat di istana Neapolitan, ditangkap.