In 1278, the Yuan Dynasty established the Lijiang Prefecture, which represented the imperial court in Yunnan. A chieftain, Mude, was made the hereditary chieftain of Lijiang Prefecture, exercising control over the Nashi people and other ethnic groups (particularly the Eastern Tibetans inhabiting the region of Kham) during the Ming Dynasty. The hereditary chieftains from the Mu family collected taxes and tribute, which then went to the Ming court in the form of silver and grains. The Ming relied on the Mu family as the mainstay for the control of the people of various ethnic groups in northwestern Yunnan Province.