Born as Wali-ullah Abul-Mansur Khan, Abylai Khan belonged to the senior branch of descendants of the 15th century founder of the Kazakh state, Janybek Khan. The son of Korkem Wali Sultan, he was given the shortened name Abulmansur at birth. Abulmansur spent his childhood and part of his youth in exile, spending many years near present-day Pavlodar on the northern borders of the Kazakh Khanate. After losing his father to political rivals at the age of thirteen, Abulmansur moved back south towards present-day Kyzylorda. First, he worked as a shepherd in a noble Tole Bi and then Dauletgeldi Bai a herdsman. The ill-dressed and emaciated boy was called by the contemptuous name of "Sabalak" - the beggar. But Abulmansur, according to contemporaries, always carried himself with dignity and loved solitude. He kept this pen name "Sabalak" in order not to be noticed to his father's rivals as he was one of the descendant of Janybek Khan. In his teenage years, Abulmansur developed the nickname “Ablai”, which he was more commonly known by for most of his adult life. In the first half of the 18th century, Ablai Khan proved to be a talented organizer and commander as he headed detachments of the Kazakh militia during the Kazakh-Dzungar Wars. He participated in the most significant battles against the Dzungars from the 1720s to the 1750s, for which he was declared a "batyr" ("hero") by the people.