Task: Text Categorization
Input (English): Early in his reign, this ruler had to squelch two major rebellions: one led by his half-brother Thankmar, and another by his brother Henry. He defeated Berengar of Ivrea to marry the Burgundian princess Adelaide, and in so doing, gained the additional title King of the Lombards. Much of his ruling strength came from his namesake system of installing his own bishops, and later in his rule, he deposed John XII in favor of Leo VIII for the papacy. Another rebellion, this one by his son Liudolf, was ended by an invasion of the Magyars, whom this ruler soundly defeated at Lechfeld. Crowned King of the Germans after the death of his father, Henry the Fowler, FTP name this man who, in 962, became the first ruler since Charlemagne to hold the title Holy Roman Emperor.
Output (English): History