On 24 October 1917, Austrians (now enjoying decisive German support) attacked at Caporetto using new infiltration tactics; although they advanced more than in the direction of Venice and gained considerable supplies, they were halted and could not cross the Piave river. Italy, although suffering massive casualties, recovered from the blow, and a coalition government under Vittorio Emanuele Orlando was formed. Italy also enjoyed support by the Entente powers: by 1918, large amounts of war materials and a few auxiliary American, British, and French divisions arrived in the Italian battle zone. Cadorna was replaced by General Armando Diaz; under his command, the Italians retook the initiative and won the decisive Battle of the Piave river (15–23 June 1918), in which some 60,000 Austrian and 43,000 Italian soldiers were killed. The multiethnic Austro-Hungarian Empire started to disintegrate, leaving its army alone on the battlefields. The final battle was at Vittorio Veneto; after 4 days of stiff resistance, Italian troops crossed the Piave River, and after losing 90,000 men the defeated Austrian troops retreated in disarray pursued by the Italians. The Italians captured 448,000 Austrian-Hungarian soldiers (about one-third of the imperial-royal army), 24 of whom were generals, 5,600 cannons and mortars, and 4,000 machine guns. The military breakdown also marked the start of the rebellion for the numerous ethnicities who made up the multiethnic Empire, as they refused to keep on fighting for a cause that now appeared senseless. These events marked the end of Austria–Hungary, which collapsed on 31 October 1918. The armistice was signed at Villa Giusti on 3 November.