Following the liberation of Šibenik and Drniš, the forces of the 26th Division pursued the Germans towards Knin, but met fierce resistance south of the city. Soon the Command of the 8th Corps started grouping its forces for the attack on Knin. Since the Axis lost most of Dalmatia in the previous months, the Command expected that the German forces will leave Knin shortly after the attack. However, subsequent events showed that their estimates were not realistic. The XV Mountain Corps headquarters was ordered to hold Knin at all costs to stop the advance of 8th Corps towards Lika and Bosnia. The Germans also wanted to secure the right flank of their units fighting on the Syrmian Front and protect the retreating columns from Greece and Albania through Sarajevo and Banja Luka.