The castles guarding the northern border were in such bad condition that the Knights easily captured those at Złotoryja, Dobrzyń and Bobrowniki, the capital of Dobrzyń Land, while German burghers invited them into Bydgoszcz (German: Bromberg). Władysław arrived on the scene in late September, retook Bydgoszcz within a week, and came to terms with the Order on 8 October. During the winter, the two armies prepared for a major confrontation. Władysław installed a strategic supply depot at Płock in Masovia and had a pontoon bridge constructed and transported north down the Vistula.