First Kingdom of Kakheti followed by Kingdom of Georgia
In 1068, Aghsartan submitted to the Seljuk sultan Alp Arslan, agreed to pay tribute, and secured the Turkish support against King Bagrat IV of Georgia who had seized part of the Kakhetian territory. He continued his struggle against the centralizing policy of the Georgian crown under Bagrat's successor George II and allied himself with the rebellious Liparitid clan, but then transferred his loyalty to George and helped him counter the feudal opposition, and then fight the 1074 invasion by the Seljuk sultan Malik Shah I. However, when George II made peace with the sultan early in the 1080s, the latter recognized the king of Georgia as the only legitimate master of Kakheti and gave him a Seljuk force to conquer the region. George, at the head of a combined Georgian-Seljuk army, laid a siege to the Kakhetian fortress of Vezhini, but failed to take it and withdrew. Aghsartan immediately seized the opportunity to pledge his loyalty to the Seljuks, went to Malik Shah and embraced Islam, thus winning a Seljuk protection against the aspirations of the king of Georgia.
Aghsartan I died in 1084, and was succeeded by his son Kvirike IV, who continued the same policy and ruled as a tributary to the Seljuq dynasty and opposed the energetic Georgian king David IV who pursued a vigorous domestic and foreign policy aimed at asserting Georgia's integrity and its hegemony in the Caucasus. Kvirike lost the fortress of Zedazeni to David, but was still able to secure the succession to his son Aghsartan II. The medieval Georgian chroniclers characterize Aghsartan as a frivolous man whose ignorant rule drew many great nobles into opposition. In 1105, Aghsartan was arrested by his vassals, the princes Areshiani of Hereti, and handed over to King David IV of Georgia who finally annexed the kingdom to Unified Georgian realm. Henceforth the territory of the Kingdom of Kakheti was divided into several administrative units. These administrative units were the Duchy of Kakheti, the Duchy of Hereti, Khornabuji bank and the "Land of Arishini".
succeeded by later followed by came after