Wellington, pushing forward without intermission, attacked the French on 21st June at Vitoria, and inflicted a most crushing defeat on them, capturing all their guns, stores, and treasure. The French army retreated to the shelter of the walls of Pamplona, King Joseph fleeing to France. The victorious advance of the allies had placed Foy and Clausel, on either flank, in danger of being cut off. The former, although roughly handled by Graham, made good his retreat to the Bidasoa; the latter, pursued by Wellington himself, retreated to Zaragoza, and after destroying his guns and baggage, escaped with his force into France.
San Sebastian was now besieged by the allies, and on 24th July, an attempt was made to storm it, but was repulsed with heavy loss, and the siege perforce turned into a blockade. Soult had meanwhile been appointed to command the "Army of Spain," as it was now styled, King Joseph having been wise enough to voluntarily resign.
Now commenced the fighting which, under the name of "Pyrenees," is so well known. Combat succeeded combat with unceasing rapidity, commencing with that of Roncesvalles on 25th July. In nine days, in August, ten serious actions were fought, the allies losing some 7300 men, and the French about double that number.
The siege of San Sebastian was now resumed, and on 31st August it was stormed, but at the expense of appalling losses to those of the allies engaged. Meanwhile, Soult fought a battle on the Bidasoa with the covering force at San Marcial, and another at Vera.
After the fall of San Sebastian, there was a lull in the fighting for some weeks, and it was not till 6th October that the allies effected the passage of the Bidasoa, and on the following day fought the second combat of Vera, in which the Rifles took a leading part and lost over 200 officers and men, killed and wounded.
Soult now entrenched himself strongly on the line of the Nivelle, but on 10th November, the battle of the Nivelle was fought and Soult retreated behind the Nive. Wellington having been compelled to divide his wings by this river, Soult projected an attack on one of them with his whole force, the entrenched camp of Bayonne on the Nive assisting him in this enterprise. The battles and combats which ensued are commonly known as the battles in front of Bayonne, that of the 10th December being distinguished as the battle of the Nive, although they all took place in the same theatre of operations.
In the five days' fighting before Bayonne (9th to 13th December) the French lost 6000 men and the allies about 5000.
After some minor operations, hostilities ceased for a brief period on the 18th December, only to be renewed with redoubled energy within less than two months.