 The first navy of the Emir of Córdoba was built after the humiliating Viking ascent of the Guadalquivir in 844 when they sacked Seville.In 942, pagan Magyars raided northern Spain.Meanwhile, a slow but steady migration of Christian subjects to the northern kingdoms in Christian Hispania was slowly increasing the latter's power.