ali as i've wrote none of those authors are aware of many important details such as kurekchay treaty an official and legal treaty which defined the entry of karabakh into russian empire at the same time the khan of sheki too signed a similar treaty for example i know michael croissant and his book is full of mistakes and errors his book doesn't mean much in this regard his mistakes are too gross the russo iran war started in whilst karabakh became part of russia in before such a war meanwhile tim potier is a good legal expert and it is surprizing to see him write that but everyone is entitled to errors and his was due to lack of resources he was limited as a scholar in variety of materials and legal status of karabakh in th century was not his objective the th century was anyways i do not know the khans of iran in the south and which treaties they concluded with british if they did it in the zand period they probably had full legal right at the time since iran was more of a geographic entity than political same with azerbaijan north it was geographic too whilst i do not remember the legal documents and letters of the time the later russian and british documents clearly identified azerbaijanis of the north as aderbeijani tatars i have evidence of that as far back as in british census estimates and in the official russian imperial census same word is used by russian ethnographer velichko in his book azerbaijani author firudin bey kocharly wrote a book in literature of azerbaijani turks anyways azerbaijanis simultaneously fought against both iran and russia at the time and some sided with either one side or another unfortunately you won't find much on that in libraries but just one such translated book would allow scholars to reconsider mistaken assumptions what is more important however is that karabakh khan khan being a turkic term derived from kagan was that it concluded its own treaty that it minted its own money one of the typical examples of independence and fought several wars with iran some handily winning others like ambgiously but still shah muhammed qajar gets killed and i don't know who told you about vagif and ibrahim by the later you probably mean ibrahim khan right well vagif the poet and vizier was executed in after shah's death and was executed by the temporary ruler mamed bey jevanshir who was nephew of ibrahim khan while details are murky and contradictory the qajars didn't have the primary rolse in this indeed once shah was killed iranian troops withdrew it screwed up all the plans to re conquering other parts of azerbaijan and georgia meanwhile ibrahim khan lived and ruled the khanate until tragic error or so it is explained in but anyway the kurekchay treaty was signed by him thus once more karabakh khanate for one was totally independent and iran had no legitimate or otherwise claims whatsoever to it meanwhile few other khanates were nominally dependent like poland was to ussr or armenia to russia russian speaker of parliament person in the country openly called it forepost of russia whilst in armenia