Ablai Khan participated in the most significant battles against the Dzungar from the 1720s to the 1750s, for which he was declared a ""batyr"" ("hero") by the people. The Kazakh suffered from the frequent raids against them by the Volga Kalmyk. The Kokand Khanate used the weakness of Kazakh jüzs after Dzungar and Kalmyk raids and conquered present Southeastern Kazakhstan, including Almaty, the formal capital in the first quarter of the 19th century. Also, the Emirate of Bukhara ruled Shymkent before the Russians took dominance.