 Alfonso had Sergianni arrested in May 1423.However, as the Aragonese soldiers had failed to capture Joan in the siege of Castel Capuano, Sergianni was freed and fled to Aversa with the queen.The situation cleared when Alfonso was called back to Spain, and the queen returned to Naples together with Louis, to whom she was then betrothed.