Nuremberg is the second-largest city of the German state of Bavaria after its capital Munich, and its 518,370 inhabitants make it the 14th-largest city in Germany. On the Pegnitz River and the Rhine–Main–Danube Canal, it lies in the Bavarian administrative region of Middle Franconia, and is the largest city and the unofficial capital of Franconia. Nuremberg forms a continuous conurbation with the neighbouring cities of Fürth, Erlangen and Schwabach with a total population of 800,376, while the larger Nuremberg Metropolitan Region has approximately 3.6 million inhabitants. The city lies about 170 kilometres north of Munich. It is the largest city in the East Franconian dialect area, Nuremberg was one of the host cities of the 2006 FIFA World Cup.
There are many institutions of higher education in the city, including the University of Erlangen-Nuremberg. With 39,780 students in 2017, it is Bavaria's third-largest and Germany's 11th-largest university, with campuses in Erlangen and Nuremberg and a university hospital in Erlangen. Technische Hochschule Nürnberg Georg Simon Ohm and Hochschule für Musik Nürnberg are also located within the city.