Task: Text Categorization
Input (English): This rulers early reign saw the dismissal of the corrupt eunuch Lekapenos and the defeat of a rebellion led by Bardas Phokas. This ruler gained territory from King Smbat III of Armenia after an Armenian vassal named David willed his estates to this rulers empire, which formed an alliance against Georgios Tzul with Mstislav of Chernigov that successfully captured Kerch and ravaged the Khazars. This rulers general Nikephoros Uranus captured Aleppo, while this rulers sister Ana married Vladimir of Kiev. This rulers forces were slaughtered at the Battle of Trajans Gate, but he had much better luck at the Battle of Kleidion, where he destroyed Samuils army and blinded the survivors, telling them to march back to a certain country and tell every man, woman, and child that this ruler was their new master. For ten points, name this 11th century Byzantine Emperor, who they still call the murderer in Sofia.
Output (English): History