Victor Amadeus also undertook a number of military reforms. Often when one of his key fortresses was under attack, he would replace its commanding officer with one of his most reliable and trusted leaders. In 1690 he established a select militia within his territories, and he later overhauled the militia system in 1714 and strictly codified it. This included an obligation for each region under his rule to provide a number of men for the militia based on population. From 1713 he also began to establish his own navy based on the limited Sicilian naval forces he had been granted.