 It was commissioned by Bernabò Visconti, who was later imprisoned there until his death.On 23 October 1404, the castle was captured by Paolo Colleoni, father of the important condottiere Bartolomeo.The Visconti general Francesco Bussone recaptured it, partially demolishing it and starting its decline.