The American position had been greatly strengthened, and many additional troops were now at the front. It was felt that an advance upon Santiago would surely result in victory, although the losses might be large. But the Spaniards were no longer in a position to continue the struggle, and on July 17 the city formally surrendered. The surrendered territory covered many miles, and the Spanish soldiers to lay down their arms numbered upward of twenty thousand.