The Battle of Sorauren was part of a series of engagements in late July 1813 called the Battle of the Pyrenees in which a combined British and Portuguese force under Sir Arthur Wellesley held off Marshal Soult's French forces attempting to relieve Pamplona.
With sizable Anglo-Portuguese forces tied up in assaulting San Sebastián and besieging Pamplona, the new French commander Marshal Soult launched a counterattack with the Armée d'Espagne through Maya and Roncesvalles.
Wellesley made a dramatic ride along the ridge in front of the cheering British and Portuguese troops and Soult postponed the attack until the next day.
By the time the French attack was launched, reinforcements had arrived, bringing the total allied force to about 24,000 men.
With his momentum lost, Soult withdrew into France to prepare his defence against the imminent Allied offensive.