In the War of the Fifth Coalition, he defeated an Austrian holding force in the Dalmatian Campaign of May 1809 and captured the opposing commander. Breaking out of Dalmatia, he reached Ljubljana (Laibach) in early June. After he defeated Ignaz Gyulai's corps in the Battle of Graz, Napoleon summoned the XI Corps to Vienna. Marmont arrived in time to fight in the Battle of Wagram on 5 and 6 July. In the subsequent pursuit of Archduke Charles, Marmont's corps was in a compromising position and was rescued only by the arrival of Napoleon with heavy reinforcements. Napoleon made him a Marshal of the Empire, though he said, "Between ourselves, you have not done enough to justify entirely my choice." Of the three marshals created after Wagram, the French soldiers said,