Over the course of the next decade, the rebels attacked and looted many of the cities in the region, including Suq al-Ahwaz (the provincial capital), 'Askar Mukram and Ramhurmuz.
By the height of the rebellion in the mid-870s the Zanj were effectively in control of extensive portions of the province, appointing governors to the districts under their sway and collecting supplies from the local population.
The Zanj presence in al-Ahwaz came to a sudden end in 881, when 'Ali ibn Aban was ordered to abandon the region and return to lower Iraq, where the remaining military events of the rebellion would take place.
The Zanj leader 'Ali ibn Muhammad decided to expand to the northeast and make al-Ahwaz the target of his next campaign, and an army was ordered to proceed to the province.
[15][11][14] The Zanj occupation of Suq al-Ahwaz lasted only temporarily, and by the following year the Abbasids reestablished their military presence in the region.
The capture of al-Ahwaz, together with that of al-Ubulla less than two months prior, also helped spread to fear among the residents of the surrounding regions; many people of Basra, for example, fled their city for safer areas after learning of the Zanj's victory.
Pursued by Ibrahim's cavalry, 'Ali attempted to reach Suq al-Ahwaz, but a foot wound hindered his movements and he eventually decided to retreat back to Jubba instead.
[16][17][18] As a result of his victory, Ibrahim was appointed to conduct the war against the Zanj in al-Ahwaz, and Sa'id ibn Yaksin was dismissed from his post.
The resulting battle ended in complete victory for 'Ali; Mansur's troops suffered significant casualties and eventually fled, abandoning him on the battlefield.
[28][29][30] In 873, following the withdrawal of Abu Ahmad from southern Iraq, the Zanj leader ordered 'Ali ibn Aban to return to al-Ahwaz with most of his troops.
[31][32][33] News of the fate of Suq al-Ahwaz reached the central government in Samarra, which responded by placing the general Musa ibn Bugha al-Kabir in charge of war against the Zanj.
[36][37][38] Following his defeat, 'Ali made his way to the Nahr al-Sidrah, in the area of the Dujayl south of Suq al-Ahwaz, where he wrote to the Zanj leader asking for reinforcements.
[45][44][40] Following the sack of Suq al-Ahwaz, Abu al-Saj was dismissed from his post and was temporarily replaced with Ibrahim ibn Sima.
Ya'qub had spent the last several years becoming one of the most powerful rulers in the Islamic east, having conquered the provinces of Sijistan, Kirman, Khurasan and Fars.
He furthermore sought to expand into the core regions of the Abbasid Caliphate, a policy that would culminate in early 876 with the Battle of Dayr al-'Aqul in central Iraq.
[48] Although the battle ended in defeat for Ya'qub and forced him out of Iraq, he still sought to maintain his authority in al-Ahwaz, at the expense of both the Abbasid government and the Zanj.
[50][51][52] With Muhammad now on his side, 'Ali decided to send an expedition under his brother al-Khalil to al-Sus, where Ahmad ibn Laythawayh, who had been appointed by Masrur al-Balkhi as the military governor of al-Ahwaz, was staying.
[53][51][52] While 'Ali was stationed at the bridge, he received word that, although Muhammad had entered Tustar, he was making the prayers there on behalf of the caliph and Ya'qub ibn al-Layth, instead of the Zanj leader.
Considering this to be evidence of Muhammad's betrayal, 'Ali ordered his forces to return immediately to Suq al-Ahwaz and destroyed the bridge to prevent anyone from following him.
Ibn Laythawayh's cavalry gave him a massive advantage, and the battle turned into a complete rout, with only a few of the Zanj infantry standing firm.
[65][66][67] Following the defeats at the hands of the Zanj, Ya'qub ordered al-Hisn to refrain from engaging them in further combat and to restrict himself to Suq al-Ahwaz.
With orders to fight against 'Ali ibn Aban, Aghartmish and other commanders marched until they reached Tustar, where they killed a number of Zanj prisoners that Takin had taken captive.
'Ali then proceeded to Suq al-Ahwaz and sent the heads of the slain to al-Mukhtarah, where they were put on display, while Aghartmish and the remnants of his forces retreated back to Tustar.
In an attempt to free himself from 'Ali, Muhammad wrote to Ankalay, the son of the Zanj leader, and asked that the district under his control be removed from 'Ali's jurisdiction and assigned directly to him.
The Zanj presence in central Iraq was soon all but eliminated; several towns were recovered by the government and the two rebel strongholds of al-Mani'ah and al-Mansurah were captured.
[93][94][95] 'Ali, meanwhile, had already learned of al-Muwaffaq's advance; upon receiving the Zanj leader's letter, he appointed a lieutenant in his place and departed from Suq al-Ahwaz.
While at al-Sus, he ordered that the supplies left behind by the Zanj be seized, and set about opening dams that the rebels had put up on the rivers and repairing the local roads.
[103][104][105] During the siege of al-Mukhtarah, which lasted from 881 to 883, no fighting appears to have taken place in al-Ahwaz; the province, however, did contribute to the Abbasid war effort, sending both supplies and volunteers to al-Muwaffaq.
[106][107] When al-Mukhtarah was finally captured in 883, some surviving rebels attempted to flee to al-Ahwaz; one fugitive who had wounded al-Muwaffaq during the siege, for example, was apprehended by the authorities in Ramhurmuz and sent to Abu al-'Abbas, who had him put to death.
[108][109] After the final defeat of the Zanj, al-Muwaffaq ordered that letters be sent out to the centers of the Muslim world announcing to the people of the districts of Basra, al-Ubulla, al-Ahwaz and Wasit that the rebellion was over and that it was now safe for them to return to their homes.