Since the Kameoka area functioned as the entrance to Sanin from Kyoto and Yamashiro, the Oji-shuku (a posting station) in Oinosaka-toge Mountain Pass on the border with Yamashiro was full of inns.
京都・山城から山陰へは当市域が入り口に当たるため、山城との境に当たる老の坂峠・王子宿には多くの宿場が立ち並んだ。