After the failure to put down the insurrection in some of the Greek provinces of the Ottoman Empire due to the intervention of European powers sinking his naval fleet at the Battle of Navarino, the wāli of Egypt, Muhammad Ali, sought the province of Syria. Mohammad Ali believed that Syria was promised as a prize for helping the Greeks, but Sultan Mahmud disagreed and only appointed him the pashalik of Crete. Muhammad Ali raised an army under his son Ibrahim Pasha to occupy the province and bring it under Egyptian control. Bashir II had sought refuge in Egypt during the aforementioned troubled times in Lebanon from 1821 to 1822 and had become an ally of Muhammad Ali, thus his help was sought to help secure Egyptian rule in the province. During the occupation, Ibrahim Pasha and Bashir II enacted high taxes, eventually producing resistance, and Bashir II's provision of Christian forces in battles against the Druze may have served as a source of future sectarian tensions. Bashir II had previously attempted to not appear as favoring the Maronites to the degree that he was required to under the Egyptian occupation, however as his help was required to hold the territory, Muhammad Ali was insistent that he provide forces to his son, even threatening Bashir II personally when he appeared to be hesitating in bringing his soldiers. The occupation also introduced social measures that raised the legal rights of Christians in the area and imposed conscription and disarmament.