By the beginning of the 6th Century, the proto-Mongolian Rouran Khaganate had annexed areas that were later part of the east Kazakhstan.
In 766, the Oghuz Yabgu State (Oguz il) was founded, with its capital in Jankent, and came to occupy most of the later Kazakhstan.