The Vikings were expert sailors, who travelled in longships, and by the early 840s AD, had begun to establish settlements along the Irish coasts and to spend the winter months there. Vikings founded settlements in several places; most famously in Dublin. Written accounts from this time (early to mid 840s) show that the Vikings were moving further inland to attack (often using rivers) and then retreating to their coastal headquarters.