The Bakikhanovs or Badkubehs[1] are an Turkic noble family.
Progenitors of the line arrived in Baku after 1592.[2] According to Abbasgulu Bakikhanov, ancestors of the family migrated to Baku from Gilan, after certain "Khan Ahmad affair", which probably means end of Malati ruler Sultan Ahmad Khan's reign.[3] He claims ancestors of Baku khans were hailing from Nur and Kujur rulers ruling in Tabaristan, i.e. Paduspanids.[4] First known members of the dynasty were Mammadhusein beg and his son Heybet beg. Heybet beg's elder son Dargahqulu beg was a landlord in Mashtaga who seized the city and killed sultan who was appointed by Safavids, then began to call himself khan, appointing Selim khan as naib of Absheron. He defeated forces of Surkhay khan of Qaziqumuq and later Haji Davud of Shirvan and extended his rule to Shabran and Gobustan. However he lost younger brother Huseinjan beg in battle. Dargahqulu surrendered castle to Mikhail Matyushkin with 700 soldiers[5] in 1723[6] and was acknowledged by Russian Empire as local ruler. The family adopted the name of Badkubeh after relocating to the city of Arak in Iran, whereas a different segment of the family that stayed and worked with the Russians adopted the name Bakikhanov.[7]