 Visconti was in conflict with his acquisitive cousin Gian Galeazzo Visconti, later the duke of Milan, whose ambition was to control the whole of northern Italy.His army was attacked and decisively beaten by that of Gian Galeazzo Visconti as it passed through Alessandria in Piedmont.John III was killed in the battle.