The latter had to face a new French invasion, this time led by Louis II. Alberico for the first time in his career was defeated, at Ascoli Piceno, in 1392.
Louis eventually died after a pestilence, while Urban VI changed sides declaring Alberico, who was besieging him in Nocera, to be an enemy of the church. Charles was assassinated on 24 February 1386, but Barbiano declared his loyalty to the latter's son Ladislaus.