The Byzantine emperor John II Komnenos had married the Hungarian princess Piroska who was named Irini. In this way he found himself involved in the dynastic disputes of the Hungarian kingdom. John gave asylum to a relative of his wife, but the Hungarian king Stefanos preferred him dead. When John