Despite his popular reputation he was hesitant in 1831 about aiding the Sultan of Turkey, who was under threat from Muhammad Ali, the pasha of Egypt. Later, after Russian successes, in 1833 and 1835 he made proposals to afford material aid, which were overruled by the cabinet. Palmerston held that "if we can procure for it ten years of peace under the joint protection of the five Powers, and if those years are profitably employed in reorganizing the internal system of the empire, there is no reason whatever why it should not become again a respectable Power" and challenged the metaphor that an old country, such as Turkey should be in such disrepair as would be warranted by the comparison: "Half the wrong conclusions at which mankind arrive are reached by the abuse of metaphors, and by mistaking general resemblance or imaginary similarity for real identity." However, when the power of Muhammad Ali appeared to threaten the existence of the Ottoman dynasty, particularly given the death of Sultan Mahmud II on 1 July 1839, he succeeded in bringing the great powers together to sign a collective note on 27 July pledging them to maintain the independence and integrity of the Turkish Empire in order to preserve the security and peace of Europe. However, by 1840 Muhammad Ali had occupied Syria and won the Battle of Nezib against the Turkish forces. Lord Ponsonby, the British ambassador at Constantinople, vehemently urged the British government to intervene. Having closer ties to the pasha than most, France refused to be a party to coercive measures against him despite having signed the note in the previous year.