Karlsruhe is the third-largest city of the German state of Baden-Württemberg, after its capital Stuttgart and Mannheim, and the 22nd-largest city in the nation, with 308,436 inhabitants.