Aga of Algeria 1661-1665
(The "Aga" was the military commander of an Ottoman Turkish colony, who reported to the Pasha, the governor. http://en.wikipedia.org/wiki/Colonial_heads_of_...
"Algiers [was] the center of Ottoman authority in the Maghrib. For 300 years, Algeria was a province of the Ottoman Empire under a regency that had Algiers as its capital.... Subsequently...governors with the title of pasha ruled." http://en.wikipedia.org/wiki/History_of_Algeria...
Specifically, he was the agha of the Janissaries.
These aghas, besides being governor of Algiers and president of the diwan that administered the country, had since 1659 taken the place of the pashas formerly sent from Istanbul to rule Algeria, the excuse for the change being that "the pasha's corruption hampered the relations of the regency with European countries" (Jamil M. Abun-Nasr, A History of the Maghrib, p. 175).
Chart showing the number of references in each month of the diary’s entries.