On 21 July 1866 the victorious Prussia, which had just inflicted a decisive defeat on Austrian army at the battle of Sadowa, signed the (without consulting the Italian allies). In the same days the Italian Navy was defeated in the Battle of Lissa. On the contrary the Army was taking advantage of the redeployment of many Austrian units to the northern front. Garibaldi's volunteers, reinforced by regular units, gained terrain by invading Trentino and achieved a victory at Bezzecca; the main Italian army led by general Enrico Cialdini reached Udine, while a secondary army led by general Alfonso La Marmora was contemporary blocking some Austrian forces in the Quadrilatero fortresses.