 Henry II and Bolesław I then opened peace negotiations and a ceasefire was declared in summer 1017.As negotiations failed by autumn 1017, Henry II again marched his army into Poland.His army reached Głogów, where Bolesław I was entrenched, but it was unable to take the city.