Military history of Ireland
The Vikings pillaged monasteries on Ireland's west coast in 795, and then spread out to cover the rest of the coastline. The north and east of the island were most affected. During the first 40 years, the raids were conducted by small, mobile Viking groups. From 830 on, the groups consisted of large fleets of Viking ships. From 840, the Vikings began establishing permanent bases at the coasts. Dublin was the most significant settlement in the long term. The Irish became accustomed to the Viking presence and culture and in many cases became allies, with intermarriage common throughout Ireland. A major Irish battle involving Vikings was fought at the Battle of Clontarf in 1014, in which a large force of Vikings and their Irish allies were defeated by the gathered Irish forces of Brian Boru, then the High King of Ireland along with a small contingent of Viking defectors. After this date Viking activity was sporadic with various Kings and nobles attempting to extend their power base. In 1099, Magnus Barefoot, the King of Norway, and his Viking army had successfully campaigned alongside their Irish allies against opposing Irish warbands. On his return his force was ambushed and killed on the north coast of Ireland.
Denmark
From the 8th to the 10th century the wider Scandinavian region was the source of Vikings. They colonised, raided, and traded in all parts of Europe. The Danish Vikings were most active in the eastern and southern British Isles and Western Europe. They conquered and settled parts of England (known as the Danelaw) under King Sweyn Forkbeard in 1013, and France where Danes and Norwegians founded Normandy with Rollo as head of state. More Anglo-Saxon pence of this period have been found in Denmark than in England.
Denmark was largely consolidated by the late 8th century and its rulers are consistently referred to in Frankish sources as kings ("reges"). Under the reign of Gudfred in 804 the Danish kingdom may have included all the lands of Jutland, Scania and the Danish islands, excluding Bornholm.
The extant Danish monarchy traces its roots back to Gorm the Old, who established his reign in the early 10th century. As attested by the Jelling stones, the Danes were Christianised around 965 by Harald Bluetooth, the son of Gorm. It is believed that Denmark became Christian for political reasons so as not to get invaded by the rising Christian power in Europe, the Holy Roman Empire, which was an important trading area for the Danes. In that case, Harald built six fortresses around Denmark called Trelleborg and built a further Danevirke. In the early 11th century, Canute the Great won and united Denmark, England, and Norway for almost 30 years with a Scandinavian army.