In the middle of the XVII century. in the Dzungaria included most of the territory Mogolistan, it has long been in a state of feudal disintegration and from 80 - 90 years XVI century virtually ceased its independent existence Movies Jungar lords on Kazakh nomad become systematic In the decades of the XVII century. Jungar raids danger is further enhanced. Beliefs and religions The dominant religion of the Kazakhs was Islam the main centers of the spread of Islam were Turkestan and the city Maverannahr - Khorezm and Bukhara among the working people of Islam is deeply rooted, the masses were still far from the tenets of Islam and still perform the rites of the pagan religion based on the cult of "Tengri" (worship of the sky) in the people dual faith existed for a long time: the connection of Islam and faith in "Tengri" Ancient ancestral god "Tengri" is still in the early Middle Ages was transformed into a class of religion, reflects the ideology of the patriarchal-feudal society. In centuries XV -XVI. it has acquired the character of monotheism (bir Tengri), his translation of the word allah.V this time the cult of "Tengri" has competed with the religion of Islam.