structural:summarization
Portugal

Portugal has a long tradition in the use of militias for national defense. Between the 12th and 16th centuries, the municipal militias – composed of spearmen, pikemen, horsemen, slingers, javelineers, archers, crossbowmen and later arquebusiers – constituted the main component of the Portuguese Royal Army, together with smaller military forces from the King, the military orders and the feudal lords.

After some failed previous attempts, in 1570 King Sebastian of Portugal created the Ordenanças, a centrally managed military territorial organization that would replace the municipal militias and became the basis of a national army. After 60 years of foreign domination (1580–1640), the Ordenanças were reorganized for the Portuguese Restoration War. The Portuguese Army was then organized in three lines, with the 2nd and 3rd being militia forces. The Ordenanças became the 3rd line and acted both as a territorial draft organization for the 1st and 2nd line troops and as a kind of home guard for local defense. The 2nd line was made of the auxiliary troops, also militia units with the role of regional defense. In the end of the 18th century, the auxiliary troops were renamed "Militias".

In the Peninsular War, the Militia regiments and the Ordenanças units had an important role in the defense of the country against the Napoleonic invader army. Still in the 19th century, the Militia units also had an important role in the Liberal Wars, with the majority of those troops fighting on the side of King Miguel. Besides the regular militias, a number of volunteer militia units were formed to fight on both sides of the war.

With the establishment of the constitutional regime, the old Militias and Ordenanças were replaced by a single national militia force, the National Guard. However, the National Guard revealed itself an ineffective and undisciplined force. Their units became highly politicized, being involved in a number of conspiracies and coups. The National Guard having less and less confidence from the authorities, became extinct in 1847, terminating a long tradition of national militias in Portugal.

During the 20th century, some experiments with militia type forces were made. From 1911 to 1926, the Portuguese Army was organized as a militia army. Also, in 1936, the Estado Novo regime created the Portuguese Legion as a political volunteer militia, dedicated to the fight against the enemies of country and of the social order. From World War II, the Portuguese Legion assumed the responsibility for civil defense, this becoming its main role during the Cold War, until its extinction in 1974.