I have been doing some research in determining why one could be born as Mara or in his retinue but having difficulty understanding. According to the passage below from the Shurangama Sutra, if one "has some wisdom and the manifestation of Ch'an Samadhi" but still not cutting off lust, one could be born as such.
Even though one may have some wisdom and the manifestation of Ch'an Samadhi, one is certain of enter demonic paths if one does not cut off lust. At best, one will be a demon king; on the average, one will be in the retinue of demons; at the lowest level, one will be a female demon.
But the passage later on says that to be born on the 6th heaven where the demon king (Mara) resides, one must "have no kind of worldly thoughts while doing what worldly people do" (which means they are not lusting???). If someone could please shed light on this?
Those who are devoid of desire, but who will engage in it for the sake of their partner, even though the flavor of doing so is like the flavor of chewing wax, are born at the end of their lives in a place of transcending transformations. They are among those born in the Heaven of Bliss by Transformation.
Those who have no kind of worldly thoughts while doing what worldly people do, who are lucid and beyond such activity while involved in it, are capable at the end of their lives of entirely transcending states where transformations may be present and may be lacking. They are among those born in the Heaven of the Comfort from Others' Transformations.