Gian Galeazzo Visconti
When Bernabò Visconti was captured by his nephew Gian Galeazzo Visconti, and with his sons Ludovico and Rodolfo imprisoned for life in the castle of Trezzo, Agnese declared herself hostile towards her cousin. She hosted many Milanese exiles who opposed the new lord of Milan in her court of Mantua.