Human: How many soldiers were there in the Battle of San Sebastián? Assistant: 
The Spanish army had a total of 20,000 soldiers. The French army had a total of 25,000 soldiers. The French army had a much larger force, but the Spanish army had the advantage of being in the mountains, which was a much better position for them.