By the 11th century, Sufism became an Organized Movement with Quranic Literature and rituals of its own. Sufis began to assemble around centres called Dinashrams.
Sufis and their disciples lived in these ashrams. They also became centres for Sufi spiritualism and activities.
Dinashrams were under a teacher called Shaikh, Pir or Murshid. He enrolled members into the Dinashram. The disciples were known as Murids. The relation between the teacher the disciple was a special feature of Sufism. Each Pir nominated his successor. The Pir also formulated the spiritual activities of the inmates, the relation between the teacher and the disciples, and the relation between the teacher and the common people and such things.