Between 1799 and 1817, the leading minister Count Montgelas followed a strict policy of modernisation and laid the foundations of administrative structures that survived even the monarchy and are (in their core) valid until today. On 1 February 1817, Montgelas had been dismissed and Bavaria had entered on a new era of constitutional reform.
