Under the Kingdom of Prussia the Minister President functioned as the chief minister of the King, and presided over the Landtag (the Prussian legislature established in 1848). After the unification of Germany in 1871 and until the collapse in 1918, the office of the Prussian Minister President was usually held ex officio by the Chancellor of the German Empire, beginning with the tenure of Otto von Bismarck.