Lijiang is a prefecture-level city in the northwest of Yunnan Province, China. It has an area of 21,219 square kilometres (8,193 sq mi). Lijiang City replaced former administrative region Lijiang Prefecture. Lijiang Prefecture no longer exists today. It was under the rule of the Mu family (木氏) local commanders (土司) during the Ming Dynasty and Qing Dynasty.