The city consists of two parts; the modern French town, built on the level ground by the seashore, and the ancient city of the deys, which climbs the steep hill behind the modern town and is crowned by the kasbah or citadel, 400 ft.
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.
Within this harbour is the small harbour of the deys, now transformed into a wet dock.
Algiers was a walled city from the time of the deys until the close of the 19th century.
The government of the Deys lasted till 1705, but vas soon narrowed or overshadowed by the authority of the Beys, whose Beys.
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.
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.
Under Deys and Beys alike Tunisia was essentially a pirate state.
After some fruitless attempts Turkey ceased to send pashas to Algiers - where they were not allowed even to land - and thus recognized the de facto independence of this singular republic. The authority of the deys, moreover, was scarcely more solid than that of the pashas.