The Kingdom of Khotan was a Saka city state in on the southern edge of the Tarim Basin. As a consequence of the Han–Xiongnu War spanning from 133 BCE to 89 CE, the Tarim Basin (now Xinjiang, Northwest China), including Khotan and Kashgar, fell under Han Chinese influence, beginning with the reign of Emperor Wu of Han (r. 141–87 BC).