Through military campaigns and marriage alliances he secured peace with the Vandals of North Africa and established close political ties with the sprawling kingdom of the Visigoths, where in 511 he imposed his own king (his grandson Amalric), assembling a huge Pan-Gothic kingdom that extended from the Atlantic Ocean to the Adriatic Sea.