Under Junayd, the Safaviyya was transformed from a Sufi order organized around a saint-ascetic into an active military movement with a policy of conquest and domination.
He was the first Safavi spiritual leader to espouse specifically Shia Islamic teachings, and in particular those of the Twelver ghulat.
[3][4] During his time in Ardabil, Junayd attracted so many disciples that in 1448, Jahan Shah (the Kara Koyunlu prince) drove him into exile to Anatolia and Syria.
[6] Junayd was prevented from returning to Ardabil, so he lived at Shirvan where he died in a local skirmish near the Samur River in what is modern Azerbaijan, where he was buried.
This led to the beginning of animosity between the mainly Sunni Shirvanshah and the increasingly heterodox Shi’i Safaviyya.