Liuvigild, Leuvigild, Leovigild (Gothic: Liubagilds), or Leovigildo (Spanish and Portuguese), (c. 519 – 21 April 586) was a Visigothic King of Hispania and Septimania from 568 to April 21, 586. From 585 he was also king of Galicia. Known for his Codex Revisus or Code of Leovigild, a unifying law allowing equal rights between the Visigothic and Hispano-Roman population, his kingdom covered modern Portugal and most of modern Spain down to Toledo.
In the second year of his reign, king Liuva I declared his brother Liuvigild co-king and heir, assigning him Hispania Citerior, or the eastern part of Hispania, to directly rule over. After the death of Liuva I, Liuvigild ruled alone until his death.
He was succeeded by his second son Reccared, who converted to Catholic Christianity in 589 and brought religious and political unity between the Visigoths and their subjects.