Muhammad Ali was born in Kavala, in…
July 1805 CE
He was the second son of a tobacco and shipping merchant named Ibrahim Agha, who also served as an Ottoman commander of a small unit in Kavala.
His mother was Zeynep, the daughter of the "Ayan of Kavala" Çorbaci Husain Agha.
When his father died at a young age, Muhammad had been taken and raised by his uncle with his cousins.
As a reward for Muhammad Ali's hard work, his uncle had given him the rank of "Bolukbashi" for the collection of taxes in the town of Kavala.
After Muhammad's promising success in collecting taxes, he gained Second Commander rank under his cousin Sarechesme Halil Agha in the Kavala Volunteer Contingent of Albanian mercenaries that had been sent to re-occupy Egypt following General Napoleon Bonaparte's withdrawal.
He later married Ali Agha's daughter, Emine Nosratli, a wealthy widow.
In 1801, his unit had been sent, as part of a much larger Ottoman force, to re-occupy Egypt following a brief French occupation that threatened the way of life in Egypt.
The expedition had landed at Aboukir in the spring of 1801.
One of his trusted army commanders was Miralay Mustafa Bey, who had married Muhammad's sister Zubayda and was the ancestor of the Yakan family.
The French withdrawal had left a power vacuum in Egypt.
Mamluk power had been weakened, but not destroyed, and Ottoman forces have clashed with the Mamluks for power.
During this period of turmoil, Muhammad Ali had used his loyal Albanian troops to work with both sides, gaining power and prestige for himself.
As the conflict drew on, the local populace had grown weary of the power struggle.
In 1801, he had allied with the Egyptian leader Umar Makram and Egypt's Grand Imam of al-Azhar.
During the infighting between the Ottomans and Mamluks between 1801 and 1805, Muhammad Ali had carefully acted to gain the support of the general public.
In 1805, a group of prominent Egyptians led by the ulema demands the replacement of Wāli (viceroy) Ahmad Khurshid Pasha by Muhammad Ali, and the Ottomans yield.