As the war dragged on, the Danish population became increasingly hostile to the Germans. Soldiers stationed in Denmark had found most of the population cold and distant from the beginning of the occupation, but their willingness to cooperate had made the relationship workable. The government had attempted to discourage sabotage and violent resistance to the occupation, but by the autumn of 1942 the numbers of violent acts of resistance were increasing steadily to the point that Germany declared Denmark "enemy territory" for the first time. After the battles of Stalingrad and El-Alamein the incidents of resistance, violent and symbolic, increased rapidly.