Heidelberg is the fifth-largest city in the German state of Baden-Württemberg, and with a population of about 163,000, of which roughly a quarter consists of students, it is Germany's 51st-largest city. Located about 78 km south of Frankfurt, Heidelberg is part of the densely populated Rhine-Neckar Metropolitan Region which has its center in Mannheim.