The Franconia Railway (German: Frankenbahn) is a 180-kilometre-long (110 mi) railway line in the north of the German state of Baden-Württemberg and the Bavarian province of Lower Franconia that links Stuttgart and Würzburg. Its name comes from the fact that the majority of the line runs through Franconia. The first section of the line was opened in 1848 and is one of the oldest lines in Germany. The main line is now electrified and has been almost entirely upgraded to double-tracks.