Odjak of Algiers Revolution

Taking place during a period of transformation of the Ottoman Empire, and lasting from June to September 1659, it was largely viewed as a result of the loss of the importance that the Regency previously had for Constantinople back in the 16th century; decades of marginalization demonstrated through the appointment of incompetent governors and diverging interests regarding relations with European powers,[5] made both the Barbary corsairs and the janissaries of Algiers less inclined to commit themselves to the Ottoman cause.

Obscure favorites, or greedy officials who bought their nomination by corrupting the main officers of the "Grand lord", were often invested; As soon as they arrived, they rushed to make their fortune, drawing on all sources of income.

The militia, accustomed to obeying illustrious leaders, whom it loved, wasted no time in showing a spirit of independence and revolt towards these unworthy successors of Hayreddin, Hassan-Pasha, Salah reis and Sinan-Pacha.

[10] The Alawite Emirate emerged under the leadership of Sharif ibn Ali and his son Moulay Mohammed amidst the disturbances that plagued the farthest regions of Morocco during the first half of the seventeenth century.

[13]: 21 Mahram Pasha, the governor of Algiers, led by his advisor, prepared to confront the Alawite prince, but they failed to locate him because he had moved southward, returning to Oujda and then to Sijilmasa.

[16] This epidemic led to a significant economic slowdown due to the deaths of a considerable number of merchants and craftsmen in the city, or their escape to rural areas to avoid infection.

[17]: 204 Neither of these governors could rely solely on piracy and maritime raids to banance their budgets, since these had also diminished during their tenure due to significant losses suffered by the Algerian fleet, such as the events that occurred in the autumn of 1655 during the Cretan War and European anti-piracy efforts.

Ibrahim Pasha exhausted all means to gather funds in devious ways, including extorting the city's wealthy and imposing additional fines on merchants and craftsmen, as well as anyone capable of paying.

[16]: 387 The new governor arrived with a decree instructing the Algerians to prepare and send a naval fleet to the East, with financial compensation for the leaders in return for their contributions to the Cretan War.

[16]: 387  Ibn El Mufti explained the reasons behind stripping the Pashas of the salary payment privilege as follows: "When they were entrusted with this duty, they exploited it to plunder the money sent to the palace from various sources without restraint.

"[17] Here are the terms in which Father Barreau, then French consul in Algiers, reported on this revolution:[19] In the month of June (1659), the divan still continued in the good arrangements he had made to maintain correspondence with foreign countries, and particularly with Marseille, having been informed, both of his own subjects and Christian merchants and others, reasons why his port seemed abandoned as well as the country of his domination, and having been represented to him that the too great authority that he allowed to take insensibly from the pashas who come from the Porte of the great lord giving them opportunity to do a lot of extortion and humiliation; this is why he would have resolved, for the good and for the benefit of all, to completely abolish this disproportionate authority that they had imposed on themselves, and, for this purpose, would have forbidden the one who is in charge of the present to meddle in anything.As soon as Pasha Ali arrived in İzmir, he submitted a report on what he had encountered and requested permission from its judge regarding informing Istanbul about it.

This implies the disruption of the Hajj pilgrimage and trade to the East, along with the potential discontent of religious authorities and the local population, in addition to the cessation of the vital recruitment of the Odjak thus threatening its existence.

He did so by heeding the petitions of local and foreign merchants, abolishing all unjust fines imposed by the previous Pashas, and, furthermore, reducing customs duties to stimulate trade.

[2]: 210  He also paid special attention to the issue of taxation, evident in the strict enforcement placed on taxpayers and the replacement of some questionable tax collectors with others from the ranks of the isolated Aghas.

"[22] This new government, though described as "Republican" by the French political thinker Montesquieu, faced a period of uncertainty between the years 1659 and 1711, because out of the 16 sovereigns that assumed power in the regency, 15 of them were assassinated, this was due to the fact that the power of the Aghas and the Deys was limited by the Divan of Algiers,[23] and also the Pasha position, even though ceremonial at this point, was still a proof of legitimacy that the de facto rulers of Algiers lacked, which made these elected governors fall to plots very often.

Yet by overseeing a complementary policy between the possessors of military and financial power through institutionalization, the Ottoman Algerian elite was eventually successful in setting up a political system that survived crises without internal warfare and permitted de facto independence from the imperial authority of the Sublime porte.

[25] As for the previously agreed terms, the Diwan of Algiers provided him with a salary and covered all expenses for his household and himself, on the condition that he would not interfere in state affairs and would not leave except by permission,[25] thus having no more than an honorary title.

[1]: 164 [9] Tal Shuval would describe the Ottoman Algerian relations with the Imperial centre as following:[7] From the revolution of the aghas onwards, a very 'Ottoman' behaviour characterized the Algerian elite regarding the imperial centre: a constant demonstration of loyalty to the empire and its governors, together with a jealous guarding of the province's autonomy vis-à-vis the same centre.While some authors interpreted the "Aghas revolution" as a mere episode of disobedience linked to the regional reorganisation of the Ottoman empire, basing this claim on the maintaining of the pasha position within the Regency of Algiers,[26] yet this revolution brought a number of significant changes: This state of affairs indicate the de facto independence of Algiers from what was left of the already loose Ottoman suzerainty.

Ottoman Janissary and Pasha flags
Political situation in Morocco in 1660, after the assassination of the final Saadi sultan Ahmad al-Abbas , with the Alawi domain in purple.
Battle between the Dutch and Barbary Pirates near the Coast, by Hendrik van Minderhout (1632-1696)
Algiers in the 17th century, with the Odjak flags risen over its forts, by Gerard van Keulen (dead 1726)
Janissary soldier of the Odjak of Algiers
Meeting at the Grand Diwan of Algiers
The arrival of the new Pasha in Algiers