At Sacile, Archduke John made a serious blunder. He split his army into two parts, sending Ignaz Gyulai with most of the IX Armeekorps east to Ljubljana in Carniola and the VIII Armeekorps northeast to Villach in Carinthia. This dispersal of available Austrian troops facilitated Eugène's advance from Italy into the Austrian Empire. One authority wrote, "From the Piave to Hungary John's handling of the campaign was a failure." Frimont, who led John's rearguard made a stand at San Daniele del Friuli on 11 May with 4,000 soldiers. Eugène and Dessaix carried out a double envelopment and inflicted about 2,000 casualties on their opponents. Franco-Italian losses were 200 to 800. Despite this defeat, Frimont kept his rear guard intact and maintained its effectiveness.