In 551, Athanagild, a noble from Visigothic Hispania, sought Justinian's help in a rebellion against the king, and the emperor dispatched a force under Liberius, a successful military commander. The empire held on to a small slice of the Iberian Peninsula coast until the reign of Heraclius.