 Berardo Maggi (1275), a Guelph (papal supporter in the Investiture Conflict), was made Duke and Count of the city, and constructed among other works two canals diverting the waters of the Rivers Chiese and Mella, in order to furnish the motive force for many factories.Tommaso Visconti (1388) did much for the maintenance of discipline among the clergy.Under Bishop Francesco de' Mareri (1418), the preaching of St. Bernardine of Siena wrought a great moral reform in the city of Brescia.