In the campaign on the Danube in 1805, as the leader of one of Michel Ney's divisions, he earned further distinction, especially in the Battle of Haslach-Jungingen, in which he prevented the escape of the Austrians from Ulm, and so contributed most effectively to the isolation and subsequent capture of Karl Mack von Leiberich and his whole army. He also distinguished himself in the Battle of Friedland. With a record such as but few of Napoleon's divisional commanders possessed, he entered Spain in 1808 at the head of a motley corps made up of provisional battalions and Swiss troops impressed into French service from the Spanish Royal Army. After the occupation of Madrid, Dupont, newly created count by Napoleon, was sent with his force to subdue Andalusia. After a few initial successes he had to retire toward the passes of the Sierra Morena. Pursued and cut off by a Spanish army under the Duke of Castaños, his corps was defeated in the Battle of Bailén after his Swiss troops deserted and returned to their former allegiance. Painfully wounded in the hip, Dupont felt constrained to capitulate. Even so, Dupont sent secret orders to General Dominique Vedel to escape with his division, which was outside the Spanish trap. When the Spanish found out, they threatened to massacre Dupont's men if Vedel did not also surrender, which Vedel did. Altogether 17,600 French soldiers laid down their arms in the disaster. Madrid fell to the resurgent Spanish forces and this soon compelled Napoleon to intervene with his Grand Army in order to salvage the situation.
Disgrace and Bourbon Restoration
Dupont fell into the emperor's disgrace, as it was not taken into account that his troops were for the most part raw levies and that ill-luck contributed materially to the catastrophe. After his return to France, Dupont was sent before a court-martial, deprived of his rank and title, and imprisoned at Fort de Joux from 1812 to 1814. Released only by the initial Restoration, he was employed by Louis XVIII in a military command, which he lost on the return of Napoleon during the Hundred Days. But the Second Restoration saw him reinstated to the army and appointed a member of the conseil privé of Louis XVIII. Between April and December 1814, he was Minister of War, but his reactionary politics made the monarch recall him. From 1815 to 1830, Dupont was deputy for the Charente.
Death
He lived in retirement from 1832, working on his memoirs until his death in 1840. He lies buried in Père Lachaise Cemetery.
As a young officer in Napoleon's Army, Dupont was ordered to deliver a disagreeable message to a fellow officer, Fournier, a rabid duellist. Fournier, taking out his subsequent rage on the messenger, challenged Dupont to a duel. This sparked a succession of encounters, waged with sword and pistol, that spanned decades. The contest was eventually resolved when Dupont was able to overcome Fournier in a pistol duel, forcing him to promise never to bother him again.
Dupont was the model for Armand d'Hubert, played by Keith Carradine in the film. Over a period of roughly 20 years, Dupont de l'Étang fought a series of more than 20 duels with his fellow officer, the particularly quarrelsome Fournier, nicknamed by the Spaniards el demonio.
Personal life
Pierre Dupont was married on December 26, 1804 to Jeanne Grâce Bergon, daughter of a state counsellor, who died in the château des Ternes on June 13, 1858. They had two children:
Jean Pierre Théophile, comte Dupont; died May 6, 1843, married to Lidorie Beckam, parents of Arthur, comte Dupont.