The area around Kameoka prospered as a port right before Hozu-kyo Gorge when the Sanin-do Road to connect provincial capitals in Sanin-do was built in around the seventh to eighth century, and wood in Yuge-go and Yamaguni-go (the present Keihoku area in Ukyo Ward, Kyoto City) was sent to Kyoto via the Katsura-gawa River.
7世紀～8世紀ころには山陰道各国府を結ぶ山陰道が設けられ、また現在の京都市右京区の京北地域にあたる弓削郷・山国郷などの木材が桂川に乗って京都へ運ばれるようになると、亀岡周辺は保津峡直前の船待ち場として発展した。