By the third century BC, the area became dominated by the Xiongnu, but came under Chinese rule during the Han dynasty after Emperor Wu defeated the Xiongnu in 121 BC.