The rulers of regions that remained partly autonomous organized rebellions on various occasions. However, subsequent Iranian and Ottoman invasions further weakened local kingdoms and regions. As a result of incessant Ottoman–Persian Wars and deportations, the population of Georgia dwindled to 784,700 inhabitants at the end of the 18th century. Eastern Georgia (Safavid Georgia), composed of the regions of Kartli and Kakheti, had been under Iranian suzerainty since 1555 following the Peace of Amasya signed with neighbouring rivalling Ottoman Turkey. With the death of Nader Shah in 1747, both kingdoms broke free of Iranian control and were reunified through a personal union under the energetic king Heraclius II in 1762. Heraclius, who had risen to prominence through the Iranian ranks, was awarded the crown of Kakheti by Nader himself in 1744 for his loyal service to him. Heraclius nevertheless stabilized Eastern Georgia to a degree in the ensuing period and was able to guarantee its autonomy throughout the Iranian Zand period.