he was a circassian servicing in various positions in the ottoman empire. he was the acting governor of tripoliçe (now in greece) in 1770 during the russo-turkish war (1768-1774). he defended the town against a russia-backed rebellion. upon this success he was promoted. while he was the governor of vidin (now north west bulgaria) he took part in the battle of karánsebes in the scope of russo-turkish war (1787–1792) and contributed to the victory.