Answer:
He was promoted to captain in 1804. During his stay in Cádiz he was influenced by the ideas of the Spanish Enlightenment. ... On 19 July 1808, Spanish and French forces engaged in the battle of Bailén, a Spanish victory that allowed the Army of Andalusia to attack and seize Madrid.
Step-by-step explanation: