During Abilay Khan's rule, the Kazakh Khanate protected their eastern borders from Dgungarian invasion. They also had to protect their northern borders from Tatarian and Bashkirian tribes. When the Dgungarian Khanate was defeated by China, Abilay Khan defended the country from a Chinese invasion.