In the 15th century, the territory of Karabakh was part of the states ruled subsequently by the Kara Koyunlu and Ak Koyunlu Turkic tribal confederations. According to Abu Bakr Tihrani, during the period of Jahan Shah (1438–1468), the ruler of Kara Koyunlu, Piri bey Karamanli held the governorship of Karabakh. However, according to Robert H. Hewsen, the Turkoman lord Jahan Shah (1437–67) assigned the governorship of upper Karabakh to local Armenian princes, allowing a native Armenian leadership to emerge consisting of five noble families led by princes who held the titles of "meliks". These dynasties represented the branches of the earlier House of Khachen and were the descendants of the medieval kings of Artsakh. Their lands were often referred to as the Country of Khamsa ("five" in Arabic). In a Charter (2 June 1799) of the Emperor Paul I titled "About their admission to Russian suzerainty, land allocation, rights and privileges", it was noted that the Christian heritage of the Karabakh region and all their people were admitted to the Russian suzerainty. However, according to Robert Hewsen, the Russian Empire recognized the sovereign status of the five princes in their domains by the charter of Emperor Paul I dated 2 June 1799.