Paraguayan War
Gaston and Isabel were travelling in Europe on their honeymoon when Paraguayan forces invaded the Brazilian provinces of Mato Grosso and Rio Grande Do Sul. From the city of Uruguaiana in the southern region of Brazil, Pedro II sent a letter to the couple requesting Gaston's presence in Brazil, directing the Count to join him and the Brazilian army, together with the Duke of Saxe.
Uruguaiana had been conquered by the Paraguayan army. The Conde d'Eu, and the Emperor, Pedro II of Brazil, joined President Bartolomé Mitre of Argentina in the Siege of Uruguaiana, which ended 18 September 1865.
In his memoirs, the Viscount of Taunay wrote of his experience in the Paraguayan War, along with observances of his fellow soldiers. "While Gaston showed in all occasions a great interest for the things of Brazil, observing, asking, visiting all the places and going after correct and accurate information, while the other [August Luis, duke of Saxe] did not show anything except for indifference and lack of ambition." He was later nominated general commander of the artillery and president of the Commission of Improvements of the Army on 19 November 1865.
On two occasions throughout the conflict, Gaston sent requests to the Emperor asking him to authorize his participation in the war against Paraguay. The Council of State declined his request. The rationale was a strategic act, believing that the presence of a prince in the conflict would escalate the desire to conquer their country's territories. Additionally, it was unacceptable for the husband of the heiress of the throne to subordinate to a Brazilian military officer, who, at this time, was Luis Alves de Lima and Silva, the Marquis of Caxias, the just-nominated allied commander-in-chief.
On 22 March 1869, Gaston was assigned to lead as commander-in-chief of the allied armies, after the Marquis of Caxias renounced that position. This delegation of authority was based on the prestige as an officer of high rank, as well as his reputation and well-known capacity in military action.
The choice of Gaston as the new commander-in-chief, at the age of 27, brought joy to the Brazilian public. During this time a great number of Brazilian believed that the conflict and continued hunt for Francisco Solano López, the Paraguayan dictator, was futile and unnecessary. Gaston shared this belief. When he arrived at Paraguay, he reorganized the Brazilian army and fired the officers accused of pillage in enemy territory.
He used diversified tactics to deceive the Paraguayan army about how and where the allied army would carry its attacks. In the opinion of the Viscount of Taunay, Gaston showed "great strategical ability, cool temper, patience of an experienced leader and unquestionable courage." He also participated actively in the battles that occurred, in the Battle of Acosta Ñu, where he suffered great risk of life. It was the Count's idea to definitively extinguish the slavery of approximately 25,000 individuals in Paraguay, many of whom were obliged to fight in the war against the Triple Alliance.
Gaston suffered heavy criticism after he discovered that the brigadier João Manuel Mena Barreto had died in the battle that resulted in the conquest of the village of Piribebuy (Battle of Piribebuy) which at that time was named "the third capital of Paraguay" after the occupation of Asunción and Luque earlier in 1868. He was also criticized for ordering the decapitation of commander Pedro Pablo Caballero and Patricio Marecos, head politician of the village. In September, the Count became greatly depressed, due to the high number of deaths caused by the conflict. Until the end of the war on 1 March 1870, he participated nominally in the action of the allied army. When he returned to Brazil on 29 April 1870, he was received as a war hero. He was also nominated as a member of the Council of State on 6 July of the same year.