Al-Baqir died in 736, and his death sent the entire Caliphate into even more chaos than it had seen during his rule. His sons were in hiding due to their fear of being the next ones in the line of assassinations. The Shura was left without an obvious successor, and its members panicked. Some went into hiding themselves, while a few tried to find a solution to the situation. After several debates, they reached a consensus in who the solution was: Zayd ibn Ali.
The council sent a letter from Kufa to Tabaristan, informing the Zaydi community that their leader had been elected as Rashidun Caliph, and that his presence in Kufa was required by the Ummah. However, Zayd refused to take the call, and rejected the election in a written letter addressed to the Ummah. The third option was Abd Allah ibn Ali, who had been disgraced after his dismissal and was now also in hiding alongside his family and his nephew, Ja'far. This led to the final decision to move the succession away from the Alid lineages, and began yet another debate on who should succeed Al-Baqir as Caliph.
This alarmed the Alids in and out of the Shura, however. And it was this alarm that pushed Al-Mundhir to present himself. As the governor of Qunstantiniya, and direct descendant of Muhsin ibn Ali ibn Abi Talib, he had plenty of legitimacy. His governorship had been admirable and he was known for his dedication to Allah. He was not the only member of the Banu Hashim to seek the election, however, as Muhammad ibn Ali, the great-grandson of Al-Abbas, also presented himself. His intentions are usually believed to not have been received with much enthusiasm, and it's possible he never had a real chance of achieving the position of Caliph.
Immediately after the assassination of Al-Baqir, the newly appointed commander of the Caliphal armies ahead of the Fitna, Mus'ab ibn Thabit al-Zubayri marched from Fustat to the capital. The arrival of Mus'ab to the city was magnificent, leading a military parade across the city into the building of the Shura. Everyone was obviously intimidated, especially as his men marched directly into the building. Ja'far ibn Muhammad, son of Al-Baqir, had warned Al-Mundhir about the Zubayrid general. However, the governor was so confident in his odds to win that he ignored the pleas of his cousin. Ja'far even insisted on being present, but he was kept from leaving Qunstantiniya due to the real possibility of being murdered on the way to the capital.
In the end, Mus'ab came out on top and was elected as the 7th Rashidun Caliph, ending a streak of Alid rulers. There wasn't much celebration, as he immediately returned to Tripoli to carry out his invasion plans against the Khawarij.
The instability of the Caliphate had allowed the rebels to not only usurp the governors of Al-Andalus and Ifriqiya, but also for the different leaders of the different Kharijite sects and movements to come together and organize their efforts. By the time Mus'ab returned to Tripoli and launched his invasion of Ifriqiya in 737, the Khawarij had organized to the point of forming their own Shura and electing a rightful Khawarij Caliph. This was received as great disrespect to the family and descendants of the Prophet, and only increased the divide among the Ummah due to the controversial decision to not recognize the Caliph of Kufa.
The Khawarij were very strict in their requirements for whoever should become their Caliph. Very few men in Islamic history could ever meet them, and most of them would possibly be Sahaba of the Prophet, who imitated Muhammad and his way of life directly, and who wrote down his teachings in the Qu'ran. But, contrary to what the quietist Kharijites of the time would have argued, there were indeed men who met the criteria living in their day, and among them, a single man stood in front of the entire Khawarij revolution in the west: Maysara al-Matghari.
First Khawarij Caliph: Maysara al-Matghari, Amir al Mu'minin.
Not much is known of the early years of Maysara's life, other than he was a low-born from the Matghara Berber tribe. His parents were devout muslims, from whom Maysara inherited his faith and piety. He lived most of his life around the cities of Tangiers and Kairouan, where he eventually offered himself to serve as a water-carrier for the Rashidun army.
However, he lived in turbulent times for the Amazigh people. It was soon clear to him that his tribe and his people were being neglected by the local governors. He saw his friends, neighbors and family die from starvation or executed for being Kharijites during the years of persecution. His parents had been loyal to Kufa and to the Ahl-al-Bayt, and so Maysara grew up not as a Kharijite, but as a Shia. For such, he normally excused the executions of his closed ones under the accusations of being rebels and Khawarij, believing they deserved such punishment. But such a notion of his would change.
Some time during his service to the Rashidun army, his father and his wives, including his mother, were accused of being Khawarij rebels and were executed for it. At the time, Maysara had been participating in battles around Ifriqiya against rebels. For such, he only found out about the death of his parents almost two weeks later. It is said he ran to his hometown of Tangiers and mourned for his family for several months. That marked a breaking point for the young Maysara, who left the Rashidun army and joined the Sufri movement of his tribe.
It quickly became evident that Maysara was special, and he soon rose to become one of the most important and respected figures among his new community. He presented, alongside his tribe, a complaint to the governor at Kairouan. They were ignored and later kicked out of the city. In a final attempt to reach a diplomatic solution, Maysara sent a letter to Kufa, addressed to the Caliph. This, however, was intercepted at Kairouan.
He developed great resentment towards the Caliph and his family, the Ahl-al-Bayt. He, like the most of the other Khawarij, came to believe that they had been corrupted and moved astray from Allah. The family of the Prophet, supposed to be the most pious among the Ummah, had become corrupt and now ignored and violated the teachings of the Prophet written in the Qu'ran.
Maysara participated and led Khawarij rebel armies in the first revolts of his tribe against the Umayyad governor in Kairouan. He always defeated the local garrisons with dominance in the battlefield. This earned him great popularity, and he received thousands of new supporters and recruits in his army. Initially, he only allowed members of his tribe or other Sufrites, but very quickly he began to accept every Kharijite and Berber who wished to join him, even the most radical rebels.
He did not organize, but did participate in the assassination of Al-Walid and the subsequent siege of Kairouan and the persecution of Caliphal officials and their families. It was seen as the just retribution for their corruption and their abandonment of Islam (in their view).
Shortly after this, and after the conquest of Tangiers by the rebel armies, the Berbers and Arab Kharijites met in an assembly to unite themselves into a single force and organize their subsequent efforts. During this time, the community established a Shura of their own, which included Arabs and non-Arabs alike. With it formed, the discussions and debates to elect a righteous Caliph began. Maysara had become massively popular due to the fact that he had never lost a battle as a commander, as well as his piety and strict following of the Qu'ran. For such, he was elected as the Caliph, and would be in charge of leading the armies of the newly unified Khawarij movement.
Commander of the al-Shurat
Now as Caliph, Maysara rallied his new Kharijite armies and continued to attack the few Rashidun garrisons that remained within the province of Ifriqiya. He recovered the city of Kairouan after it had been briefly recaptured by Shia forces. Then, he won the battles of Ceuta and Fez, where he crushed two important Rashidun armies. In between, he also rallied more Berber tribes and recruited them into his armies.
With their heads shaved and pages of the Qu'ran attached to their spears in the traditional Khawarij manner, Maysara's armies were steamrolling the split and disorganized garrisons and pockets of Rashidun presence in the Maghreb and Ifriqiya. However, the zealous and inspired Kharijites could not yet rest: Al-Andalus had blown up in total chaos.
After the assassination of the governor and the persecution of officials, Islamic authority was quick to collapse across the province. The Baskunisi were the first to rise in rebellion against the Kharijites, now led by Mahomat ibn Umar of Baskuniyya. He was allied with converted Hispano-Romans led by Fortun ibn Qasi; though the rise of these converted Hispano-Romans inspired several Christian Visigoths and Romans to rise in open rebellion as well. The still disorganized Kharijite armies of Al-Andalus struggled to deal with the many rebellions and the general chaos.
Mahomat ibn Umar defeated the Kharijites in the battles of Pamplona, Huesca and Zaragoza. He managed to massacre and capture several hundreds of Kharijites. Fortun kicked the rebels out of Al-Faranj in the battles of Bourdeaux and later Narbonne. The latter of which resulted in the massacre of thousands, while many more fled to Ifriqiya. Given their clear successes, and despite their loyalty to the Caliph of Kufa, Mahomat established the Emirate of Baskuniyya, of which Fortun became an important noble.
This was followed by Oppa's revolt. Oppa was the youngest son of the Visigothic king Egica, and he rose in rebellion supported mostly by remnants of the Visigothic nobility to reclaim the throne. He quickly captured the city of Leon, from which he would continue his endeavors. He was proclaimed king and tried to appeal to Constantine VI in Rome for military support, but was ultimately ignored.
Maysara captured the city of Ceuta and finally crossed into Al-Andalus in late 736. The south was mostly still in control of the Kharijites, which allowed his triumphal march towards Cordoba. There, even more recruits and reinforcements awaited him. He organized a meeting with the local Kharijite leaders, who recognized his authority as the Caliph. Then, he finally attacked.
He marched on Toledo, where he fought a series of Visigothic rebels that were aided by Oppa and his troops. However, Maysara bested the Visigothic pretender, who fled like a coward back to the north. The Kharijites captured the city of Toledo and massacred the rebels and their families. The city was razed and sacked. Then, the Caliph led his armies in their chase of the Visigothic king.
They finally met around Segovia, where once again Oppa tried to defeat the Kharijite. He failed miserably, and most of his men were massacred. He tried to flee, but was reached by an arrow that hit him in the face, and ultimately led to his death shortly after. A smaller army was sent to the north to crush the remnants of the Visigothic uprising, while Maysara marched towards Baskuniyya.
Until the assassination of the Umayyad governors, the Baskunisi had been loyal allies of the Caliphate. For such, some Kharijites expected their continued support once a new, more righteous (in their view) Caliph was proclaimed at Tangiers. However, they could not be further from the truth. Mahomat's ancestors had embraced Islam and fought alongside the Rashidun armies, but their loyalty was with the Ahl-al-Bayt, the Caliphs of Kufa. For such, the current ruler of the Baskunisi had rallied his people and the Hispano-Romans of Qasi to fight in the name of the Rashidun Caliphate. This earned them extra Arab allies, especially after their crushing victories. Their success in the battlefield gained them confidence, which pushed Mahomat to proclaim himself as the Emir of the Baskunisi. However, he still recognized the Caliphate of Kufa.
With Oppa and his revolt out of the way, the greatest threat to Kharijite authority in Al-Andalus and Al-Faranj was clear: the Baskunisi and their allies. And they would prove to be Maysara's toughest enemies yet.
The Caliph aimed to recover the recently lost city of Valencia. There, he met the Baskunisi armies for the first time. Yahya ibn Qasi, brother of Fortun, was leading the armies that had captured the city, and he was the first one to fight the Kharijite armies. Maysara defeated him and his men, but with great losses among his own ranks. Yahya then sought refuge behind the walls of the city, which the Kharijites besieged. Fortunately for the rebels, the city gave in only after a month due to the lack of food. Expecting the mercy of the Rashidun army, Yahya peacefully surrendered and gave the city to the Kharijites. However, the latter stormed into the city and massacred Baskunisi, Hispano-Romans, Arabs and everyone who was inside. The city was completely sacked and later burned. A few messengers fled north, where they delivered the information to Fortun.
He ordered the smaller armies gathered near Valencia to return to Tortosa, where he began to prepare a plan to stop the Kharijites in a single battle. His ultimate plan was to stop their advance at the Ebro river, and force them to eventually recognize it as a border between Al-Baskuniyya and their lands.
Maysara arrived quite swiftly, and led his armies in an aggressive clash against the numerous armies of Fortun. The Muslim Hispano-Roman cleverly ambushed and misguided the Kharijite armies several times, which forced the Caliph to improvise. Noticing that some of his men were starting to cross the bridge very early, he ordered his men to push and block the bridge before more could cross. Fortun tried to stop it, but his veterans were overwhelmed by the zealous and aggressive Kharijites, who split his armies into several smaller groups and blocked the bridge.
The Kharijites set fire to it, before massacring all the Baskunisi and Hispano-Romans that failed to cross the bridge as intended. Fortun was among the unfortunate ones, and was brutally dismembered before finally being beheaded. The survivors on the opposite side of the Ebro were able to flee to Lleida and Zaragoza, while the Kharijites were forced back due to the lack of a bridge.
In early 737, the Kharijites continued their march, this time onto Zaragoza. There, Mahomat himself, alongside Abu Salama ibn Qasi, was waiting for the Caliph and his men. Upon finally meeting, Maysara recognized some admiration for his triumphs and offered him the chance of peacefully surrendering. Mahomat took this as an insult, and refused to continue talks in any way. His men immediately attacked the Kharijites, who were nonetheless ready for battle.
The battle of Zaragoza was one of the deadliest battles in the Fitna. With 50k Baskunisi, Hispano-Romans and Arabs on Mahomat's side; and 70k Berbers and Arabs among Maysara's ranks. The Caliph of the al-Shurat came out on top, even slaying Mahomat with his own hands. However, this came at the cost of 20k of his men, while the opposing side lost around 30k men. Maysara's aggressive tactics, while effective, had now resulted in severe losses in a Pyrrhic victory. It was still a very important victory, as the Emir of the Baskunisi was slain in battle, as were most of Qasi's remaining sons. Only Yunus, who fled further north into Al-Faranj, remained alive.
Maysara then led the sacking of Zaragoza, though the city did not suffer as bad of a fate as many of the previous ones, possibly due to the condition of the Kharijite armies. In Pamplona, Musa ibn Umar, brother of Mahomat, rose as the new Emir of the Baskunisi, but with considerably less military support than his brother. However, Maysara was forced to retreat from his efforts due to the imminent invasion of Mus'ab ibn Thabit, the new Caliph of Kufa.
He left his trusted general, Khalid ibn Hamid al-Zanati, behind with 10k men to defend the gains he had made against the Baskunisi. It was believed among the Kharijite leadership, though, that no more major attempts would be made to reconquer the already lost territories, especially after the battle of Zaragoza. And indeed, shortly after, Musa III would negotiate with Khalid al-Zanati and reach an agreement in which he recognized the authority of Maysara and became his vassal.
As for al-Matghari, he was met with the armies of Mus'ab in 738, when Kairouan and Tunis had been reconquered after an intense siege. This put the Kharijites in a tough position, given the advantage that holding the two most important cities of the province represented. Maysara, ruthless as ever, led his army of now 80k men into the city of Kairouan. Mus'ab had been informed of his arrival ever since the man had reached Tangiers, so he was very aware that the enemy was coming right at him. For such, he ordered his men to prepare for the defense of Kairouan, instead of charging aggressively against the Kharijites.
Maysara besieged the city for several months, until a factor that Mus'ab had ignored made itself present. There were Kharijites and sympathizers to the rebels inside the city. They organized an operation in which some infiltrated the guards of the walls while others tried to kill other soldiers. Eventually, this led to the opening of the gates in the middle of the night, which the scouts of the Kharijites noticed and they stormed into the city. It was chaotic since Maysara and his men were not really prepared to carry out an attack like such, but nonetheless a chance they took and that ended up costing Mus'ab an important position and a massive defeat.
The Rashidun army resisted as best as they could, but they were overrun at every chance. They were massacred and so were civilians. Eventually, the few thousands that survived fled the city and dispersed throughout the province. Kairouan was initially sacked and destroyed, but eventually Maysara ordered his men to cease as they would now rule over it. Then, he made an inspiring speech to his men, which he ended by proclaiming himself as "Amir al-Mu'minin", symbolizing now a complete usurpation of the family of the Prophet, as such title had only been claimed by them.
Mus'ab fled from city to city. At Sufetula, he was defeated again by Maysara in 740. He managed to escape once again, and this time made it all the way to Tripoli. There, he asked for more support from the east, unaware of the trouble that was already brewing back there.
Ja'far ibn Muhammad
Ever since the death of his father in 736, Ja'far had been keen on jumping into the spotlight. He knew his father wanted him to be his successor, and it was recognized by many among the Ummah that Ja'far was the one worthy of leading them as their Caliph. In fact, many already called him their "imam", as he was one of the most prominent religious and intellectual leaders in the Caliphate, ever since he was very young. Even Zayd ibn Ali, his uncle, recognized that Ja’far would be a truly righteous Caliph. However, he had been blocked from this precisely by his close family members, who were fearful for his life after the assassination of his father.
For such, he was forced to go into hiding at Qunstantiniya. He had supported his cousin Al-Mundhir, and watched as Mus'ab seized power by openly threatening the Shura. He then witnessed Mus'ab's invasion and its failure, while the Kharijites imposed themselves against whom he perceived to be the true Muslims.
And it was during his time in hiding at the city that he met a certain Iranian slave that went by the name ‘Abu Muslim’.
Abu Muslim had been arrested for being part of an extremist group of followers of Al-Mughira during the beginning of the First Fitna. He had served in the Rashidun army at some point, as well. He was eventually freed, though forced into slavery in exchange. During that time, he went from city to city serving different nobles across the Caliphate, until he was eventually acquired by Al-Mundhir. It was then that he met Ja'far, who was already well known as "al-Sadiq", the Truthful.
The son of the previous Caliph came to know Abu Muslim very well, and formed a strong friendship with him. They both shared the same perception about the rebels, and despite the slave’s humble origins, he was a pious and well educated man, always willing to learn from the likes of Ja’far. Al-Sadiq was almost instantly scandalized by the fact that such a devout Muslim had been forced into slavery, and convinced Al-Mundhir of freeing the Iranian man. With such an action, Ja'far earned the eternal gratitude of Abu Muslim, who would always remain a loyal servant of al-Sadiq. Once he had been freed, Ja'far introduced the man into a certain movement he had been preparing for the past few months: a revolution against Mus’ab.