In the 18th century, the Ottoman Empire faced threats on numerous frontiers from multiple industrialised European powers as well as internal instabilities. Outsider influence, rise of nationalism and internal corruption demanded the Empire to look within itself and modernise. Kickstarting a period of internal reforms to centralize and standardise governance; European style training regimens for the military, standardized law codes and reformed property laws were initiated to better collect taxes and control the resources within the borders The period of these reforms is known as the Tanzimat starting in 1839.
Despite the Ottoman empire's precarious international position, the central state was significantly strengthened. The process of reforming and modernization in the empire began with the declaration of the Nizam-I Cedid (New Order) during the reign of Sultan Selim III and was punctuated by several reform decrees, such as the Hatt-ı Şerif of Gülhane in 1839 and the Hatt-ı Hümayun in 1856. Over the course of the 19th century, the Ottoman state became increasingly powerful and rationalized, exercising a greater degree of influence over its population than in any previous era.
Despite these attempts at revitalisation, the empire could not stem the rising tide of nationalism, especially among the ethnic minorities in its Balkan provinces, where the newly implemented administrative and infrastructural reforms often intensified local tensions and nationalist movements rather than alleviating them. Numerous revolts and wars of independence, together with repeated incursions by Russia in the northeast and France (and later Britain) in the North African eyalets, resulted in a steady loss of territories throughout the 19th and early 20th centuries.
By 1908, the Ottoman military became modernized and professionalized along the lines of Western European armies. The period was followed by the defeat and dissolution of the Ottoman Empire (1908–1922).