The Turkic Khaganate collapsed in 744 which gave rise to a series of intertribal confrontations in the Eurasian steppes. The Karluks attacked the Oghuz Turks, forcing them to launch a westward migration towards the Pechenegs' lands. The Uighur envoy's report testifies that the Oghuz and Pecheneg waged war against each other already in the 8th century, most probably for the control of the trade routes. The Oghuz made an alliance with the Karluks and Kimaks and defeated the Pechenegs and their allies in a battle near the Lake Aral before 850, according to the 10th-century scholar, Al-Masudi. Most Pechenegs launched a new migration towards the Volga River, but some groups were forced to join the Oghuz. The latter formed the 19th tribe of the Oghuz tribal federation in the 11th century.