Odjak of Algiers

Odjak of Algiers
Ujaq
A Janissary of Algiers
Active1518-1830
DisbandedDe jure 1830, De facto 1837
CountriesOttoman Empire, Regency of Algiers, Kabylia and captives from the Spanish Empire, the Kingdom of France, the Kingdom of Sardinia and the Kingdom of Naples
AllegianceAgha of the Odjak
Size12,000 (1600)
7,000 (1750)
4,000 (1800)
Main locationAlgiers
EquipmentInitially:
Equipment by the Ottoman Empire
Nimcha, Kabyle musket, and other locally made weapons
EngagementsAlgiers expedition (1541)
Tuggurt Expedition (1552)
Odjak of Algiers Revolution
French-Algerian War 1681–88
Battle of Moulouya
Tunisian-Algerian Wars
Invasion of Algiers (1775)
Invasion of Algiers in 1830
Battle of Constantine
Commanders
Notable
commanders
Ibrahim Agha

The Odjak of Algiers (also spelled Ujaq or Ocak) was the local corps of the Janissary militia in the Regency of Algiers, forming the backbone of its professional army from around 1518 until the French conquest in 1830 (with de facto dissolution by 1837).

Highly autonomous within the broader Ottoman Janissary Corps, the Odjak operated independently from imperial headquarters in Istanbul, mirroring the Regency's own semi-independent relationship with the Sublime Porte. Recruited primarily from Anatolian Turks and other Ottoman subjects (often through voluntary enlistment or hereditary service within the corps), its members remained lifelong professional soldiers, largely insulated from local Algerian society.

Led by an Agha (commander-in-chief), the Odjak served multiple roles: as the Regency's main defensive force against external threats, a Praetorian Guard protecting (and sometimes deposing) rulers, and an instrument of internal repression and control until its power was curtailed in 1817.

The Odjak encompassed all Janissaries in Algiers as a dominant political faction. Its central institution was the Diwân of Algiers (divan or council), established in the 16th century by Hayreddin Barbarossa following the consolidation of Ottoman rule. Initially seated in the Djenina Palace (Palais de la Jenina), the assembly later moved to the Kasbah citadel (including the Palace of the Dey).