Apart from the Arabs from the South, the coastal regions in the North were also attacked by Norman and Viking raiders mainly from 844. The last great invasion, through the Minho (river), ended with the defeat of Olaf II Haraldsson in 1014 against the Galician nobility who also stopped further advances into the County of Portugal.