 By that time, the city was growing very quickly and was one of the largest cities in continental Europe.In 1806, it became the capital of the new Kingdom of Bavaria, with the state's parliament (the "Landtag)" and the new archdiocese of Munich and Freising being located in the city.Twenty years later Landshut University was moved to Munich.