The Battle of Andkhud, also spelt as Battle of Andkhui was fought in 1204 on the bank of river Oxus near Andkhoy in present-day Afghanistan. It was fought between the Ghurid forces of Muhammad of Ghor against the Qara Khitai forces (as aid of Khwarazmian Empire) led by Tayangu of Taraz. The battle ended in a complete rout of the Ghurids, although Muhammad of Ghor managed to escape the debacle after the intervention by Uthman of Qarakhanid.