Under Deys and Beys alike Tunisia was essentially a pirate state.
Algiers was a walled city from the time of the deys until the close of the 19th century.
From 1631 to 1702 the office of Bey was hereditary in the descendants of Mural, a Corsican renegade, and their rivalry with the Deys and internal dissensions kept the country in constant disorder.
The Turkish governors were in the 17th century replaced by deys (see below, History).
Ibrahim, the last of the Deys (1702-1705), destroyed the house of Mural, and absorbed the beyship in his own office; but, when he fell in battle with the Algerians, Hussein b.
The kasbah was begun in 1516 on the site of an older building, and served as the palace of the deys until the French conquest.
In Algeria the deys of the janissaries became in the 17th century rulers of that country (see Algeria: History).
De Gramont, Histoire d'Alger sous la domination turque (1887); Mercier, Histoire de l'Afrique septentrionale (1888-1891); Eugene Plantet, Correspondance des deys d'Alger avec la tour de France (1889-1892); Paul Masson, Histoire des etablissements et du commerce francais dans l'Afrique barbaresque (1903); General Faure-Biguet, Histoire de l'Afrique septentrionale sous la domination musulmane (1905); (b) for the French period: Camille Rousset, La Conquete d'Alger (8th ed., 1899), Les Commencements d'une conquete: l'Algerie de 1830 a 1840, with atlas (1887), and La Conquete de l'Algerie, 184118J7, with atlas (1889); Pelissier, Annales algeriennes (1854); Leon Roches, Trente-deux ans a travers l'Islam (1884-1887); Colonel Trumelet, Histoire de l'insurrection des Ouled-Sidi-Cheik (1887); Rinn, Histoire de l'insurrection de 1871 (1891).
The government of the Deys lasted till 1705, but vas soon narrowed or overshadowed by the authority of the Beys, whose Beys.