The XIX Corps approached Brest on September 13, 1939, and defeated the Polish resistance in the ensuing battle by September 17, establishing their base of operations in the city. During the following days, Guderian was informed, much to his chagrin, that the demarcation line between German and Soviet-controlled regions was drawn along the Bug River and that his forces were to withdraw behind this line by September 22.[2]