As Egypt was warring Muhammad Ali Pasha, the appointed wali of Egypt from the Ottoman Empire, tried to take control of the nation. As the British were defeated in the first Anglo-Egyptian War Muhammad Ali Pasha tried to move quickly to eliminate any opposition to his throne in Egypt. He killed off the Mamelukes of Egypt and took full control fo the country.
Muhammad Ali was of Albanian descent, but considered Egypt as one of the more prized and more free vassals of the Ottoman Empire so he took control. As he took over he modernized agriculture and technology as long as modernize the army along western lines, namely French. Anyways, he served a huge role in helping the Ottomans momentarily retake Greece after the Greeks had inflicted upon the Ottomans critical defeat. The Battle of Navarino is also a battle that is remembered as the joint Egyptian and Ottoman fleet were destroyed by a European coalition to end Ottoman dominance in Greece.
There was still a stipulation if Muhammad Ali helped the sultan, he would then receive Syria. When the sultan refused Muhammad Ali took his modernized army and defeated the Turks at the Battle of Ridnayeh and again at the Battle of Nizib two decisive battles that left Istanbul virtually unguarded. Fortunately for the Turks they were save by none other than their traditional enemy, the Russians. A European delegation met with the sultan and pasha. The treaty called for Muhammad Ali not to attack and take Istanbul and return the sultan was to grant Egypt's independence and control over Syria. It was clear the Great Powers preferred a weak Ottoman Empire rather than an up and coming vigorous upstart that was Egypt.
Still today he is considered a hero in Egypt. He made other nations recognize Egypt as a power once more. Although his successors debts crippled the nation and led to internal strifes leading to the colonization by Britain in the late 1800's, he was able to make Egypt an independent and considerable power.
Does anyone really know this?