Khurramites

The Khurramites ( Khurram-Dīnân, meaning "those of the Joyful Religion") were an Iranian religious and political movement with roots in the Zoroastrian movement of Mazdakism. An alternative name for the movement is the Muhammira (محمرة, "Red-Wearing Ones"; in Surkh-Jâmagân), a reference to their symbolic red dress.

The Qizilbash ("Red-Heads") of the 16th century – a religious and political movement in Iranian Azerbaijan that helped to establish the Safavid dynasty – have been described as "spiritual descendants of the Khurramites".

History
The sect was founded in the 8th century AD by the Persian cleric Sunpadh as a revitalisation of an earlier sect that had mixed Shia Islam and Zoroastrianism. However, its true claim to fame was its adoption by Babak Khorramdin as a basis to rebel against the Abbasid Caliphate.

The sect grew out of a response to the execution of Abu Muslim by the Abbasids and the claim that he had died but would return as the Messiah. This message was further bolstered by the appearance of al-Muqanna, "The Veiled" prophet, who claimed that the spirit of God had existed in Muhammad, Ali and Abu Muslim.

According to al-Tabari, the name first appeared in 736 when the missionary Kedas, a Hasemite, adopted "Din al-Khorramiya". After the Hasemite Revolution, the Khurramites fought as rebels under Sunpadh, Muqanna, Babak and other leaders in various cities and regions.

The Khurramites in Azerbaijan were associated with Javidhan, a landlord who led one of the two Khurramite movements in Azerbaijan (from 807–808 to 816–817), with his headquarters being Badd Fort, near the Aras River. The leader of the other Khurramite movement was Abu Imran, who often clashed with Javidhan. During one of the clashes, probably in 816, Abu Imran was defeated and killed, and Javidhan was wounded and died three days later. Javidhan was succeeded by his heir, Babak Khorramdin, who married Javidhan's widow.

Babak's participation in the Khorrami movement was summarised by Waqed:

"Two rich men named Javidhan b. Shahrak (or Shahrak) and Abu 'Emran were then living in the highland around the mountain of Badd and contending for the leadership of the highland's Khorrami inhabitants. Javidhan, when stuck in the snow on his way back from Zanjān to Badd, had to seek shelter at Balalabad and happened to go into the house of Babak's mother. Being poor, she could only light a fire for him, while Babak looked after the guest's servants and horses and brought water for them. Javidhan then sent Babak to buy food, wine, and fodder. When Babak came back and spoke to Javidhan, he impressed Javidhan with his shrewdness despite his lack of fluency of speech. Javidhan therefore asked the woman for permission to take her son away to manage his farms and properties, and offered to send her fifty dirhams a month from Babak's salary. The woman accepted and let Babak go."

Under Babak's leadership, the Khurramites proclaimed the division and the redistribution of the great estates and the end to the despotic foreign rule. Taking advantage of the turmoil created by the Abbasid Civil War, they began making attacks on Muslim forces in 816 in Iran and Iraq.

Al-Tabari recorded that Babak started his revolt in 816–817. At first, Caliph al-Ma'mun paid little attention to the uprising because of the difficulty in intervening from far-away Khorasan, the appointment of his successor and the actions of al-Fadl ibn Sahl. Those circumstances paved the way for Babak and his supporters. The caliph sent General Yahya ibn Mu'adh to fight Babak in 819–820, but Babak was undefeated several times. Two years later, Babak overcome the forces of Isa ibn Muhammad ibn Abi Khalid.

In 824–825, Generals Ahmad ibn al-Junayd and Zurayq ibn Ali ibn Sadaqa were sent by the caliph to subdue Babak's revolt, but Babak defeated them and captured Junayd. In 827–828, Muhammad ibn Humayd was sent to overcome Babak and had several victories, but the last battle at Hashtadsar in 829, his troops were defeated by Babak.

When al-Ma'mun died in 833, he had failed against Babak, whose victories over Arab generals were associated with holding Badd Fort and the inaccessible mountain stronghold, according to Arab historians. They mentioned that his influence also extended to what is now Azerbaijan "southward to near Ardabīl and Marand, eastward to the Caspian Sea and the Šamāḵī district and Šervān, northward to the Mūqān (Moḡān) steppe and the Aras river bank, westward to the districts of Jolfā, Naḵjavān, and Marand".

In 833, many men from Jebal, Hamadan and Isfahan joined the Khurrami movement and settled near Hamadan. The new caliph, al-Mu'tasim, sent troops under Ishaq ibn Ibrahim ibn Mus'ab. The Khurramites were defeated in a battle near Hamadan. According to al-Tabari and Ali ibn al-Athir, 60,000 Khurramites were killed.

In 835, al-Mu'tasim sent Khaydhar ibn Kawus al-Afshin, a senior general and a son of the vassal prince of Osrushana, to defeat Babak. Al-Mu'tasim set a price and allowances for Afshin that were unusually high. According to Said Nafisi, Afshin managed to attract Babak's spies on his side by paying much more than Babak. When Afshin found out that Babak was aware that Bugha al-Kabir had been sent a large amount of money by Afshin and was preparing to attack Bugha, he used that information to pressure Babak into full co-operation, managed to have Babak's comrades killed and let Babak flee to Badd.

Before Afshin's departure, the caliph had sent a group under Abu Sa'id Muhammad to rebuild the forts demolished by Babak between Zanjan and Ardabil. The Khurramites, led by Mu'awiya, made a failed attack on the Arabs that was recorded by al-Tabari as Babak's first defeat.

The last battle between the Abbasid caliphate and the Khurramites occurred in Badd Fort on 837. The Khurramites were defeated, and Afshin reached Badd Fort. After capturing Badd Fort, Babak went to near the Araz River. His goal was to join the Byzantine emperor, gather new forces and continue the struggle. Thus, it was announced that al-Mu'tasim would give a reward of two million dirhams to whoever handed Babak over alive. Babak's former ally, Sahl ibn Sumbat, handed Babak over to the Abbasids, and on March 14, 838, Babak was executed in the city of Samira.

The Abbasid suppression of the rebellion led to the flight of many thousands of Khurramites to Byzantium, where they were welcomed by Emperor Theophilos, and they joined the Byzantine army under their Iranian leader, Theophobos.

Beliefs
Al-Maqdisi mentions several facts. He observes that "the basis of their doctrine is belief in light and darkness"; more specifically, "the principle of the universe is Light, of which a part has been effaced and has turned into Darkness". They "avoid carefully the shedding of blood, except when they raise the banner of revolt". They are "extremely concerned with cleanliness and purification, and with approaching people with kindness and beneficence". Some of them "believed in free sex, provided that the women agreed to it, and also in the freedom of enjoying all pleasures and of satisfying one's inclinations so long as this does not entail any harm to others". (their name is most frequently derived from the Persian word khurram "happy, cheerful" ).

Regarding the variety of faiths, the Khurramites believe that "the prophets, despite the difference of their laws and their religions, do not constitute but a single spirit". Naubakhti states that they also believe in reincarnation (metempsychosis) as the only existing kind of afterlife and retribution and in the cancellation of all religious prescriptions and obligations. They highly revere Abu Muslim and their imams. In their rituals, which are rather simple, they "seek the greatest sacramental effect from wine and drinks". As a whole, they were estimated by Al-Maqdisi as "Mazdaeans... who cover themselves under the guise of Islam".

Legacy
According to Turkish scholar Abdülbaki Gölpınarlı the Qizilbash ("Red-Heads") of the 16th century – a religious and political movement in Azerbaijan that helped to establish the Safavid dynasty – were "spiritual descendants of the Khurramites".