Answer
King Henry IV of Germany aided Solomon, King of Hungary, in his struggle against Ladislaus, who had usurped the Hungarian throne. Henry's support was crucial in Solomon's efforts to regain his rightful position as ruler. The German king provided military assistance and diplomatic pressure, which helped Solomon rally support and ultimately defeat Ladislaus.