Tahmasp II
Avan was given the title of "khan" by king Tahmasp II and was appointed as commander-in-chief of Karabagh by him.