 The line was originally a part of the main line of the opened in 1899, to connect Kyoto to the northern part of Kyoto Prefecture, or the old province of Tanba.The company adopted the relatively level route through the gorge, avoiding pass which would have required a steep grade.The company was nationalized in 1907.