Bavarian branch lines comprised nearly half the total railway network in Bavaria, a state in the southeastern Germany that was a kingdom in the days of the German Empire. The construction era for branch lines lasted from 1872, when the first route, from Siegelsdorf to Langenzenn, was opened, to 1930, when the last section of the branch from Gößweinstein to Behringersmühle went operational.