There was also a Giorgi II, Catholicos of Kartli who ruled in 826–838. George II (, Giorgi II) ( 1054 – 1112), of the Bagrationi Dynasty, was a king of Georgia from 1072 to 1089. He was a son and successor of Bagrat IV and his wife Borena of Alania. Unable to deal effectively with the constant Seljuk Turkish attacks and overwhelmed by internal problems in his kingdom, George was forced to abdicate in favor of his energetic son David IV, to whom he remained a nominal co-ruler until his death in 1112. He also held the high Byzantine titles of curopalates (c. 1060) and caesar (c. 1081). Early reign George’s childhood coincided with the civil war between his father, Bagrat IV (r. 1027–1072), and the rebellious Georgian feudal lord Liparit, who succeeded in temporarily driving Bagrat into the Byzantine Empire, and crowned George as king at the Ruisi cathedral between 1050 and 1053, under the regency of Bagrat's sister Gurandukht. In fact, Liparit became the master of nearly half of the Georgian kingdom and the most powerful dynast in the country. By 1060, Bagrat IV had been able to secure the throne and made George his heir apparent to whom the Byzantine emperor attached the title of curopalates. In 1070, Prince George, at the head of a combined Georgian-Alan army, inflicted a decisive defeat on the Shaddadid emir of Arran, Fadl II, and ravaged his possessions at Ganja. Seljuk invasions George succeeded as King of Georgia upon the death of his father in 1072 and received the title of nobelissimos and later that of sebastos from the Byzantine emperor. A year later, he faced a major aristocratic revolt led by Niania Kvabulis-dze, Ivane Liparitis-dze, and Vardan of Svaneti. Although victorious, the king had to buy the rebels’ loyalty through generously awarding them additional estates. Soon, Georgia was attacked again by the Seljuks, a nomadic Turkic people, who would prove to be a major menace to George II’s reign. Following the 1073 devastation of Kartli (central Georgia) by the Seljuk sultan Alp Arslan, George successfully repelled an invasion commanded by a Turkish general left by the sultan in charge of the Caucasus. The king also secured the formal return of Upper Tao/Tayk (Theme of Iberia), a frontier region which had been a bone of contention between Georgia and the Byzantine Empire early in the 11th century, by the Byzantine governor,