From the second half of the 18th century onwards, the Ottoman Empire began to decline. The Tanzimat reforms, initiated by Mahmud II just before his death in 1839, aimed to modernise the Ottoman state in line with the progress that had been made in Western Europe. The efforts of Midhat Pasha during the late Tanzimat era led the Ottoman constitutional movement of 1876, which introduced the First Constitutional Era, but these efforts proved to be inadequate in most fields, and failed to stop the dissolution of the empire.