 However, lack of support from the local population meant Charles entered an almost deserted city and the Allies were effectively isolated when Portuguese forces were prevented from crossing into Spain.In November, they left Madrid for Catalonia in two separate detachments, Stanhope's division of 5,000 and one of 12,000 under the Austrian Starhemberg.At Brihuega on 9 December 1710, Stanhope was taken by surprise and forced to surrender to an army led by Louis Joseph, Duke of Vendôme.