Task: Question Generation
Input (English): Passage: Alexios's son John II Komnenos succeeded him in 1118 and ruled until 1143. John was a pious and dedicated Emperor who was determined to undo the damage to the empire suffered at the Battle of Manzikert, half a century earlier. Famed for his piety and his remarkably mild and just reign, John was an exceptional example of a moral ruler at a time when cruelty was the norm. For this reason, he has been called the Byzantine Marcus Aurelius.
During his twenty-five-year reign, John made alliances with the Holy Roman Empire in the West and decisively defeated the Pechenegs at the Battle of Beroia. He thwarted Hungarian and Serbian threats during the 1120s, and in 1130 he allied himself with the German emperor Lothair III against the Norman king Roger II of Sicily.In the later part of his reign, John focused his activities on the East, personally leading numerous campaigns against the Turks in Asia Minor. His campaigns fundamentally altered the balance of power in the East, forcing the Turks onto the defensive, while restoring many towns, fortresses, and cities across the peninsula to the Byzantines. He defeated the Danishmend Emirate of Melitene and reconquered all of Cilicia, while forcing Raymond of Poitiers, Prince of Antioch, to recognise Byzantine suzerainty. In an effort to demonstrate the Emperor's role as the leader of the Christian world, John marched into the Holy Land at the head of the combined forces of the Empire and the Crusader states; yet despite his great vigour pressing the campaign, his hopes were disappointed by the treachery of his Crusader allies. In 1142, John returned to press his claims to Antioch, but he died in the spring of 1143 following a hunting accident.
Output (English): What is the last name of the person who made alliances with the Holy Roman Empire?