 The Seljuks invaded the region in the early 12th century, but their rule did not last long and in 1118-1122 the Georgian king David the Builder conquered Lori and granted the rule to the Georgian-Armenian Orbelian Dynasty.The Orbelians revolted unsuccessfully in 1177, after which a Kipchak named Khubasari was appointed "spasalari" of Lori.Later in 1185, the province became ruled by the Zakarian dynasty after Queen Tamar of Georgia appointed the Zakarid prince Sarkis as its governor.