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.
Horik II
During Horik's reign, Vikings raided England in 855 and 860 with varying success. The Great Heathen Army arrived to East Anglia in 865 and conquered York in Northumbria two years later, starting the Viking conquest and colonization of much of northeast England. While they are expressly called Danes in the Anglo-Saxon Chronicle, the army appears to have been formed by Vikings operating in Francia and Frisia. Whether the royal power in Denmark had part in the planning and organization is unknown. Later sagas assert that this was the case, depicting the leaders of the invasion as sons of the Danish king Ragnar Lodbrok. However, no such king is known in the contemporary sources. The invasion leaders Halfdan and Bagsecg were known as "kings" and may or may not have been related to the kings in the Danish homeland.