With full Norwegian independence, legislation was passed strengthening the system introduced in 1885. Liability for military service was extended to 55 years of age and the period of training was lengthened to about five months. Additional localized regiments were created within a framework of six military districts, permitting more rapid mobilization of reservists. These precautions proved effective in 1914 with the outbreak of World War I. Norway's armed forces remained mobilized throughout the war, ensuring Norwegian neutrality in conjunction with that of Denmark and Sweden.