The British encountered an extremely hostile population, prepared to resist to the degree that even women, children and slaves voluntarily participated in the defense. The headquarters of the Regiment of Patricians were located at the "Real Colegio de San Carlos", where Saavedra and Juan José Viamonte repulsed a column under the command of Denis Pack and Henry Cadogan, composed of numerous infantrymen and a cannon. Pack united his remaining forces with Craufurd and resisted inside the Santo Domingo convent. Cadogan took the nearby house of Pedro Medrano, and fired from the rooftop. Both groups were finally defeated by the local soldiers. Finally, the British General John Whitelocke surrendered, ending the attack and pledging to withdraw all British forces from Montevideo.