The stagnation and reform of the Ottoman Empire (1683–1827) ended with the dismemberment of Ottoman Classical Army. The issue during the decline and modernization of the Ottoman Empire (1828–1908) was to create a military (a security apparatus) that could win wars and bring security to its subjects. That goal took multiple Sultans with multiple reorganizations during this period. At the end of this period, with the Second Constitutional Era in 1908, Ottoman military became modernized and professionalized in the form of European Armies.