Another attempt at centralization began in 1849 following the suppression of the various revolutions of 1848. For the first time, ministers tried to transform the monarchy into a centralized bureaucratic state ruled from Vienna. The Kingdom of Hungary was placed under martial law, being divided into a series of military districts, the centralized neo-absolutism tried to as well to nullify Hungary's constitution and Diet. Following the Habsburg defeats in the Wars of 1859 and 1866, these policies were step by step abandoned.