The Battle of Somosierra took place on November 30, 1808, during the Peninsular War, when a French army under Napoleon I forced a passage through the Sierra de Guadarrama shielding Madrid.