Munich is the capital and most populous city of the Free State of Bavaria. With a population of 1,578,132 inhabitants as of 31 May 2022, it is the third-largest city in Germany, after Berlin and Hamburg, and thus the largest which does not constitute its own state, as well as the 11th-largest city in the European Union. The city's metropolitan region is home to about six million people and the third biggest metropolitan region by GDP in the European Union.