Draft:Tunisian civil war (1675-1679)

Tunisian civil war (1675-1679) was a a conflict between the princes of the Muradid dynasty On the authority, specifically on the position of Bey

Background
The new Bey in 1675, as recognised before Murad II's death, was Muhammad Bey al-Muradi. However, a few weeks after he assumed the position, he exiled his uncle Muhammad al-Hafsi, whom the divan had acquired for their cause and elected as Dey in order to counterbalance his brother Murad II. In protocol he became the superior of his nephew, while he enjoyed the prestige that came with being the son of Hammuda Pasha Bey, who had been more popular than Murad II.

Murad II's second son, Ali Bey, disappointed by his share in the division of power had sought refuge with the Bey of Constantine; he brought the tribes of northwest Tunisia over to his side with promises of gold and silver

Siege of kairouan
Muhammad Bey al-Muradi left Tunis before the troops of Ali and fled to Kairouan. Ali besieged the city but Muhammad responded to his brother's call to battle.

Battle of El Kerima
The Battle of El Kerima, which took place on the plain of Fahs in 1677 was won by Ali. He had his troops besiege Kairouan and returned to Tunis to be recognised as Bey in place of his brother who remained under siege in Kairouan.

Muhammad al-Hafsi Pasha returned from his exile in Ottoman lands with newly recruited troops and allied with his nephew Muhammad Bey al-Muradi against Ali Bey

The end of the war
After mediation by the Dey of Algiers, a treaty was signed on 10 December 1679 between the three Muradid princes and the divan of the milia: Ali remained Bey of Tunis, his brother Muhammad became qaid of the sandjaks of the interior and Muhammad al-Hafsi remained Pasha of Tunis