In 1058, Solomon, son of Andrew I of Hungary was betrothed to Judith, daughter of the Emperor Henry III.
In Hungary, however, a party opposed to such close ties with Germany arose, led by Béla, Andrew's brother.
A German embassy composed of Eppo, Bishop of Naumburg, and William, Margrave of Meissen, was sent to Hungary to negotiate with the national party, but this merely provoked a backlash.
In 1060, Andrew and his queen, Anastasia, attempted to flee Hungary for the March of Austria, but were trapped by Béla in the pass of Theben.
Andrew was killed in a subsequent charge of the Hungarian cavalry, but the Margrave William and a certain Bavarian named Poto fought from sunset until sunrise so that "the deeds of the very bravest of men of former times seem small in comparison.