Following the French invasion of 1808, Ballasteros took command of a regiment from the Junta General del Principado de Asturias and attached himself to the Army of Galicia under Blake and Castaños.
:For the Mexican town, see Castaños.
Apart from the odd setback, such as General Castaños' surprise victory at Bailén, in part due to guerrilla warfare between Madrid and Andalusia, and especially in the Sierra Morena, a victory which helped persuade the British government that Napoleon could be defeated, the French troops were largely undefeated on the open battlefield.
On November 23, 1808, the Spanish army of Andalucía regrouped and prepared to give battle under the command of Francisco Javier Castaños, 1st Duke of Bailén with Palafox as the second in command.
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.
San Francisco | San Francisco Giants | San Francisco 49ers | San Francisco Chronicle | San Francisco Museum of Modern Art | San Francisco Bay Area | San Francisco Bay | San Francisco Opera | San Francisco Symphony | Francisco Goya | University of California, San Francisco | San Francisco Ballet | University of San Francisco | The Streets of San Francisco | San Francisco State University | San Francisco International Airport | Javier Solana | San Francisco Art Institute | Presidio of San Francisco | Fine Arts Museums of San Francisco | Francisco de Quevedo | 1906 San Francisco earthquake | São Francisco River | San Francisco Call | Asian Art Museum of San Francisco | Francisco Pizarro | Chinatown, San Francisco | San Francisco Ferry Building | San Francisco Board of Supervisors | Francisco Morazán |
Establishing his headquarters there, he was joined shortly afterwards by La Peña's 10,000 men and, on 17 October, by Castaños.