In 853, Viking leader Amlaíb (Olaf) became the first king of Dublin. He ruled along with his brothers Ímar (possibly Ivar the Boneless) and Auisle. Over the following decades, there was regular warfare between the Vikings and the Irish, and between two groups of Vikings: the Dubgaill and Finngaill (dark and fair foreigners). The Vikings also briefly allied with various Irish kings against their rivals. In 866, Áed Findliath burnt all Viking longphorts in the north, and they never managed to establish permanent settlements in that region. The Vikings were driven from Dublin in 902.