Jangir chose a mountainous place near the Orbulaq river in the southwestern foot slopes of the
Dzungarian Alatau as a place of the battle, resulting in the combat being named after it. The Kazakhs started entrenching having been outnumbered by 1:25. According to A. I. Levshin, "Jangir built fortifications of length of 2.5–3km, the front edge of the trench was as tall as a man. Half of the warriors organized field fortifications along the road, and the rest dispersed on the cliffs, thereby preparing an ambush for the Dzungars. In these fortifications, Jahangir sultan patiently waited in the ambush, planning merely to drive off rather than destroy Erdeni-Batur led Dzungar army." This was the first time the Kazakh army had come prepared primarily with firearms rather than with swords or bow-and-arrow equipment. Many of the firearms the Kazakhs used were imported from
Persia and were very modern for their time. This modern weaponry became a significant reason as to why the Kazakhs held off the Dzungars despite being heavily outnumbered. The battle began with an ambush of the Kazakhs, the Dzungars immediately initiated attacks on entrenchment. Standing downhill in an open ground, the troops started to suffer heavy losses within a matter of minutes. In this battle, the Kazakhs used firearms en-masse for the first time, and the Dzungars lost from eleven thousand men. Around this time, the 20,000 reinforcement troops of the Emirate of Bukhara arrived to the aid of the Kazakhs. Yalangto'sh Bakhodir led Bukharan forces, despite significant distance to cover, managed to march right into the battle, entering the valley and hitting the rear of the Dzungars. The Dzungars, not expecting such a turn of events, went in dismay. Erdeni Batur decided not to engage further on until us in the battle of Orbulaq. == Aftermath ==