In the present paper is stated that Sufism became a basic tool of the state in order to keep in power the ruling class. Although Sufism was not born with that purpose, we will see how after the arrival of the turks in the 10th century, sufi masters and brotherhoods are integrated in the mechanisms of the state becoming a part of the ideological machinery that granted homogeneity of thought and absolute obedience to authority.