From the assassinations of the day-caregivers in Algeria
From the assassinations of the day-caregivers in Algeria 1--1592
Dali Ibrahim and Baba Ali Shawsh
Muhammad Baqtash, who is the uncle of Daly Ibrahim, was a pilgrim at the Casbah in 1707 and belonged to the leaders of the sea - who are pirates or sea warriors -
However, he was killed with his family members and all his children in 1710 by the Turkish Janissaries after a coup against his rule, and his body was divided and hung on the doors of the Kasbah in order to intimidate the president.
His sister's son, Dali Ibrahim, succeeded him in 1710, and he was soon killed 5 months after he imitated Daya on the Kasbah by the Janissaries.
He was succeeded by Baba Ali Shawsh, who in turn came from the rias, who ordered the beheading of hundreds of Janissaries and decided to gain independence from Ottoman rule in the Kasbah. The Arab and Berber people of the capital and its suburbs supported him, as did the rays of the sea, who were Algerian and European pirates who converted to Islam and practiced maritime jihad by imposing royalties. On the Crusader ships.
Baba Ali Shawsh died in 1718 and was succeeded by Dey Muhammad Baba Hassan, who restored the Ottomans’ authority over Algeria and gave the Janissaries authority over the city.
Dey Muhammad Baba Hassan was killed in 1723 after the Fourth Algerian Popular Revolution against the rule of the Turks, led by Rias al-Bahr, and he installed Dey Baba Abdi the Corsair as ruler of the Kasbah.
Baba Abdi died on September 3, 1732, and was succeeded by his brother-in-law and treasurer of the palace, Baba Brahim, who failed to liberate Oran from the Spanish, but he marched on Tunisia and annexed it to his jurisdiction, imposing a monthly tax paid from Tunisia to the Kasbah of Algiers. He died in 1745
He succeeded Ibrahim Kushuk, a Turk, and he was soon killed by the people in the fifth popular revolution on December 11, 1748.
He was succeeded by Dey Muhammad Ibn Bakir, loyal to the Ottoman crown, who prepared a second constitution for Algeria dedicated to the Janissaries and the governors in an attempt to absorb the anger of the people and the governors, but he was removed from power and exiled in 1754, and he was succeeded by Baba Ali, known as Bousbaa, who terrorized the people of Constantine and Tlemcen. After deciding independence from the Ottoman crown.
He was succeeded by Dey Muhammad bin Othman, who ruled for a period of more than 24 years and established security and peace between the rulers and the Turks. He was a close friend of the Bey of Constantine Salih Bey.

However, things went wrong again after his death and the arrival of Dey Sidi Hassan to power and ordered the killing of Salih Bey by hanging. He died of a mysterious illness in 1798
From here, the stage of the collapse of the Ottoman Empire in Algeria began, and the revolutions took another turn, with the killing of most of the deyas of Riyadh origin, such as Mustafa Pasha, Hajj Ali, and others, at the hands of the Janissaries, and the independence of several Arab tribes, led by the sheikhs of the Zawiyas in Mitidja, Djelfa, and Medea, from the rule of the Kasbah.
This stage ended with the spread of the Black Death in the capital due to the accumulation of bodies between February and March 1818, and the killing of ten thousand residents of the Kasbah, including Dey Ali Khoja and his successor, Dey Hussein, the last dey of Algeria, on March 1, 1818.


Sources :
-Manuscripts of the Ayalet of Algiers in the National Library in Hamma
-Army Museum
-Dar Mustafa Pasha Museum
-Dar Al-Riyas Museum Bab El Oued