Nuremberg is a city in the German state of Bavaria, in the administrative region of Middle Franconia. Situated on the Pegnitz river and the Rhine–Main–Danube Canal, it is located about 170 kilometres north of Munich. It is the second-largest city in Bavaria, and is the largest in Franconia. The population as of December 2011, is 510,602, which makes it Germany's fourteenth largest city. The "European Metropolitan Area Nuremberg" has 3.5 million inhabitants.