Mehmed Emin Âlî Pasha, also spelled as Mehmed Emin Aali, commonly known as Ali Pasha, was a Turkish–Ottoman statesman during the Tanzimat period, best known as the architect of the Ottoman Reform Edict of 1856, and for his role in the Treaty of Paris (1856) that ended the Crimean War. From obscure origins as the son of a doorkeeper, Âli Pasha rose through the ranks of the Ottoman state and became the Minister of Foreign Affairs for a short time in 1840, and again in 1846. He became Grand Vizier for a few months in 1852. Between 1855 and 1871 he alternated between the two jobs, ultimately holding the position of Foreign Minister seven times and Grand Vizier five times in his lifetime. Âli Pasha was widely regarded as a deft and able statesman, and often credited with preventing an early break-up of the empire.