After Nader Shah was assassinated in 1747, his nephew Ali Qoli seized the throne and proclaimed himself Adil Shah. He ordered the execution of all Nader's sons and grandsons, with the exception of the 13-year-old Shahrokh, the son of Reza Qoli. Meanwhile, Nader's former treasurer, Ahmad Shah Abdali, had declared his independence by founding the Durrani Empire. In the process, the eastern territories were lost and in the following decades became part of Afghanistan, the successor-state to the Durrani Empire. The Ottomans regained lost territories in Eastern Anatolia and Mesopotamia. The northern territories, Iran's most integral regions, had a different fate. Erekle II and Teimuraz II, who, in 1744, had been made the kings of Kakheti and Kartli respectively by Nader himself for their loyal service, capitalized on the eruption of instability, and declared de facto independence. Erekle II assumed control over Kartli after Teimuraz II's death, thus unifying the two as the Kingdom of Kartli-Kakheti, becoming the first Georgian ruler in three centuries to preside over a politically unified eastern Georgia. Due to the frantic turn of events in mainland Iran he would be able to remain de facto autonomous through the Zand period. Under the successive Qajar dynasty, Iran managed to restore Iranian suzerainty over the Georgian regions, until they would be irrevocably lost in the course of the 19th century, to neighbouring Imperial Russia. Meanwhile, Azad Khan Afghan managed to take control over the land between the Aras river, and the Urmia Lake by 1750. Azad Khan would later go on to capture Isfahan and occupy Shiraz, before losing all his territories by 1758 to Karim Khan. Meanwhile, the Absheron Peninsula and surrounding territories, were under the control of the Khanate of Baku, while the Avar Khanate took control over modern dayDagestan. Alongside eastern Georgia, these territories would all be re-incorporated into Iran but eventually permanently and irrevocably lost as well in the course of the 19th century, through the two Russo-Persian Wars of the century, to neighbouring Imperial Russia. Lastly, Oman and the Uzbek khanates of Bukhara and Khiva regained independence. The Afsharid dynasty would continue to live on in parts of Khorasan with Mashhad as the capital. When the Zand empire expanded rapidly, Karim khan allowed the Afsharids to continue rule in Khorasan, showing his respect for Nader Shah. It was eventually dissolved upon the Qajars ascension to the throne.