Who defeated the Xiongnu?
Han–Xiongnu War
{'answer_start': array([413]), 'answer_text': array(['Han empire'], dtype=object)}
Hereafter, the war progressed further towards the many smaller states of the Western Regions. The nature of the battles varied through time, with many casualties during the changes of possession or loss of actual control over the western states near the frontier regions. Regional alliances also tended to shift, sometimes forcibly, when one party gained the upper hand in a certain territory over the other. The Han empire's political influence expanded deeply into Central Asia. As the situation deteriorated for the Xiongnu, civil war befell and weakened the confederation. Eventually, the Southern Xiongnu submitted to the Han empire, but the Northern Xiongnu continued to resist. Marked by significant events involving the conquests over various smaller states for control and many large-scale battles, the war resulted in the total victory of the Han empire over the Xiongnu state in 89 AD.