黑羊王朝
Bairam Khan was born in the region of Badakhshan in Central Asia, and belonged to the Baharlu Turkoman clan of the Kara Koyunlu confederation. The Kara Koyunlu had ruled Western Persia for decades before being overthrown by their Ak Koyunlu rivals. Bairam Khan's father, Seyfali Beg Baharlu, and grandfather, Janali Beg Baharlu, had been part of Babur's service. His great-grandparents were Pirali Beg Baharlu and his wife, a daughter of the Kara Koyunlu ruler Qara Iskander; Pirali's niece through his sister Pasha Begum had been one of the wives of Babur.