 By the time of the An Lushan Rebellion the Tanguts were the most dominant local power in the region.There they established the first and only Tangut state to have ever existed—Western Xia.Until the 19th century, the term Minjak was stil used to refer to the area inhabited by Qiang people in today's Ngawa Tibetan and Qiang Autonomous Prefecture.