The institution known as leiðangr (Old Norse), leidang (Norwegian), leding (Danish), ledung (Swedish), expio (Latin) or sometimes lething (English), was a form of conscription to organise coastal fleets for seasonal excursions and in defence of the realm typical for medieval Scandinavians and, later, a public levy of free farmers. In Anglo-Saxon England, a different system was used to achieve similar ends, and was known as the fyrd.
The leidangr of Norway is first mentioned AD 985 by Scaldic Courtly Poets of Jarl Haakon of Western Norway and his son Erik. In each poem, the princes are praised for summoning the ships of the leidangr to the Battle of Hjorungavaagr against a Danish fleet. Later on the King of Norway, Harald Hardrada (died 1066) is praised by two Court-Scalds for summoning the leidangr to attack Denmark. Harald is also called king of the leidangr and the latter is termed almenningr, the duty and right of all men. During the 11th century Danish naval forces though not termed leidangr, are sporadically praised as led by Danish kings (as Knut in his conquest of England). May 21, 1085 a Danish royal charter stipulates, that certain people on the lands of the canons of Lund are liable to pay fines for neglecting expio.  
The leiðangr was a system organising a coastal fleet with the aim of defence, coerced trade, plunderings, and aggressive wars. Normally, the fleet levy was on expions for two or three summer months. All free men were obliged to take part in or contribute to the leiðangr. All of the leiðangr was called to arms when invading forces threatened the land. In the expions, only a fraction of the ships were taking part, but as expions often were profitable, many magnates and chieftains tried to join with their people as often as possible.
The leidang divided the land into districts, ship's crews or ship communities, "skipreiða" (Old Norse), "skipæn" (Danish), "skeppslag" or "roslag" (Swedish), "skipreide" or "skibrede" (modern Norwegian), and required every skipreide to deliver one ship and crew. These skipreide were administrative areas in which residents were assigned to outfit a ship for military use. They were collectively responsible to build, maintain, equip and staff a leidangsskip (coastal defense ship), fully provisioned for two or three months. Skipreide were mainly on the coast, but also extended quite far inland along fjords and deep waterways (“as far inland as the salmon runs”), to safeguard the procurement of timber for building of the warships. If enemy forces attacked the country, fires built on high hills would mobilize the farmers to the skipreide. The number of farms in an area determined the size of a skipreide. It did not usually include the entire parish, nor was it confined to a parish; it could include farms from several parishes.
The farmers of each district had to build and equip a rowed sailing ship. The size of the ships was defined as a standardized number of oars, initially 40 oars, later 24 oars. In Norway, there were 279 such districts in 1277, in Denmark two-three times as many. The head of a district was called "styrimaðr" or "styræsmand", steersman, and he functioned as captain of the ship. The smallest unit was the crew of peasants who had to arm and provide for one oarsman ("hafnæ" in Danish, "hamna" in Swedish, "manngerð" in Old Norse).
In Sweden a "hamna" was made up of two "attung", which was "two eighth parts of a village". One attung seems to have been equal to the land area it took to feed an ordinary family (around 12 acres, see Hide (unit), Virgate and Oxgang for English equivalents). Each attung also regard as having a "share" in the raid, so one who owned two attung had twice as much chance to go on the raid as one who owned only one. Those who owned less than an attung had to team up with others to form a unit of one attung and share the burdens as well as the profit.
According to the Law of Uppland, the hundreds of Uppland provided as many as four ships each (four ships, each with 24 crewmen and a steersman, each equals 100 men), those of Västmanland two ships and those of Roslagen one ship (the name indicate that this was seen as just one ship's crew but they were not part of a hundred and might have had the same rights/function of whole hundred only fewer people).
The older laws regulating the leiðangr (the Norwegian "Older Law of the Gulating" dates to the 11th or 12th century) require every man to, as a minimum, arm himself with an axe or a sword in addition to spear and shield, and for every rowbench (typically of two men) to have a bow and 24 arrows. Later 12th-13th century changes to this law code list more extensive equipment for the more affluent freemen, with helmet, mail hauberk, shield, spear and sword being what the well-to-do farmer or burgher must bring to war.
In 12th-13th-century sources detailing the 11th century, jarls are mentioned as the chieftain of the leiðangr. In the 12th century, a bishop could also be head of the fleet levy, although typically nobles led levies in the 12th to 14th centuries.
At the start of its origins in the early Dark Ages, the majority of the leidang would have been unarmoured. Some of the wealthier men may have worn leather and iron spangenhelms, while the wealthiest would wear mail or possibly leather armour. As the Viking Age began, the Leidang slowly began to improve in terms of armour as their areas became richer. By the 9th century, most members of a Leidang would have had helmets of iron or leather construction, either of the spangenhelm or Nasal Helm design. Drengrs would have worn mail, while wealthier freemen may have worn leather or padded cloth. Spears were common to all men, and many would have had short hand axes. Nobles and wealthy freemen would have had swords. Shields were used by all, and were usually round and of wood and leather construction, sometimes with leather or iron binding around the rim. By the 12th century, helmets and padded gambesons were very common, the Kettle hat type of helmet now being used alongside the earlier Nasal Helm and Spangenhelm types. Padded armour and mail were also more common among ordinary men.
In parts of the Scandinavian countries, the leiðangr evolved to a tax in the 12th century to 13th century, paid by all (free) farmers until the 19th century, although the ship-levy was frequently called out and used in the 13th–15th centuries, with the Norwegian leiðangr fleet going as far as Scotland in the 1260s. The use of the levy-tax as opposed to the use of maritime forces was more prevalent in Denmark and Sweden than Norway, since the Norwegian kingdom always depended heavily on fleet-based forces rather than land-based ones.
Skipreide, originally a defense system, later assumed other powers, such as to legal authority to pass laws and financial authority to levy taxes. Towards the end of the 13th century, they only existed for these purposes. In about 1660, skipreide were converted into tinglags, court districts that included a bygdeting (community court) or a byting (city court).
In Anglo-Saxon times, defences were based on the fyrd. It was a militia called up from the districts threatened with attack. Service in the fyrd was usually of short duration and participants were expected to provide their own arms and provisions. The origins of the fyrd can be traced back to at least the 7th century, and it is likely that the obligation of Englishmen to serve in the fyrd dates from before its earliest appearance in written records.
Alfred the Great is cred with the development of the fyrd system together with the building of "burhs", the development of a cavalry force, and the building of a fleet. Each element of the system was meant to remedy defects in the West Saxon military establishment exposed by the Viking invasions. If, under the existing system, he could not assemble forces quickly enough to intercept mobile Viking raiders, the obvious answer was to have a standing field force. If this entailed transforming the West Saxon fyrd from a sporadic levy of king's men and their retinues into a mounted standing army, so be it. If his kingdom lacked strongpoints to impede the progress of an enemy army, he would build them. If the enemy struck from the sea, he would counter them with his own naval power. Characteristically, all of Alfred's innovations were firmly rooted in traditional West Saxon practice, drawing as they did on the three so-called ‘common burdens' of bridge work, fortress repair and service on the king's campaigns that all holders of bookland and royal loanland owed the Crown. Where Alfred revealed his genius was in designing the field force and burhs to be parts of a coherent military system. Neither Alfred's reformed fyrd nor his burhs alone would have afforded a sufficient defence against the Vikings; together, however, they robbed the Vikings of their major strategic advantages: surprise and mobility.
The historian David Sturdy has cautioned about regarding the fyrd as a precursor to a modern national army composed of all ranks of society, describing it as a "ridiculous fantasy":
The persistent old belief that peasants and small farmers gathered to form a national army or fyrd is a strange delusion dreamt up by antiquarians in the late eighteenth or early nineteenth centuries to justify universal military conscription.
Henry I of England, the Anglo-Norman king who promised at his coronation to restore the laws of Edward the Confessor and who married a Scottish princess with West Saxon royal forebears, called up the fyrd to supplement his feudal levies, as an army of all England, as Orderic Vitalis reports, to counter the abortive invasions of his brother Robert Curthose, both in the summer of 1101 and in autumn 1102.