In the aftermath of the retreat from Winchester, Matilda rebuilt her court at Devizes Castle, a former property of the Bishop of Salisbury that had been confiscated by Stephen. She established her household knights on the surrounding estates, supported by Flemish mercenaries, ruling through the network of local sheriffs and other officials. Many of those that had lost lands in the regions held by the King travelled west to take up patronage from Matilda. Backed by the pragmatic Robert of Gloucester, Matilda was content to engage in a drawn-out struggle, and the war soon entered a stalemate.