Historical background In August 1813 Wellington had driven the French out of Spain, except for the garrison of the coastal town of San Sebast…