"Bailén" by Benito Pérez Galdós is a novel written in October and November of 1873. As the fourth installment in the first series of Galdós's "Episodios Nacionales," it follows protagonist Gabriel de Araceli through one of the most celebrated battles of the Spanish War of Independence. The narrative chronicles the clash between invading French forces and Spanish contingents, capturing General Castaños's famous victory against Napoleonic divisions. Galdós weaves detailed battle scenes with psychological portraits of key figures in this popular episode of Spanish nationalist history.
Wikipedia page about this book: es.wikipedia.org/wiki/Bail%C3%A9n_(episodio_nacional))