The first, and most commendable legacy of Galeazzo II is his commitment to both the sponsorship and patronage of scholars and intellectual institutions. Galeazzo II Visconti is known to have established the University of Pavia in 1361, upon moving his court to that city in the face of growing rivalry with his brother, Bernabò Visconti. Galeazzo II's founding of this University came with the help of Emperor Charles IV of the Holy Roman Empire, with the granting of the University's charter. The University of Pavia, carefully fostered by Galeazzo II, and in turn by his son, Gian Galeazzo, would develop into a leader amongst the Northern Italian scholarly institutions, and would directly precipitate the widespread circulation of legal and medical texts throughout Pavia. Figures such as Lorenzo Valla would later be associated with the University. One step beyond establishing the University of Pavia, Galeazzo II Visconti personally entertained scholarly figures at his court, and offered patronage to them while they remained there. Literary greats like Geoffrey Chaucer ventured from England to Milan whilst it was under the control of the Visconti to study the vast libraries of the Visconti family, which contained works by figures like: Virgil, Seneca, Ovid, Macrobius, Dante, and Petrarch. There is also evidence of Petrarch being a guest of Galeazzo II's court, where he wrote for a number of years before his time in Padua. This is known through the extensive volumes of writing personally belonging to Petrarch which were brought from Padua to the Visconti Libraries for his stint under the Visconti.