Though they could be legally jailed or executed by most armies a century ago, the experience of World War II influenced nations occupied by foreign forces to change the law to protect this group. Many of the post-war victors, such as France, Poland, and the USSR, had the experience of resistance fighters being summarily executed by the Axis if they were captured. The war also influenced them to make sure that commandos and other special forces who were caught deep behind enemy lines would be protected as POWs, rather than summarily executed as Hitler decreed through his 1942 Commando Order.