Tanba-Kameyama Domain (丹波亀山藩, Tanba-Kameyama-han) was a feudal domain under the Tokugawa shogunate of Edo period Japan, located in Tanba Province in what is now the west-central portion of modern-day Kyoto Prefecture. It was centered initially around Kameyama Castle in what is now the city of Kameoka, Kyoto.[1][2][3] It is referred to as "Tanba-Kameyama Domain" to disambiguate it from Ise-Kameyama Domain.
The Kameoka area is located about 20 kilometers to the west of Kyoto, to which it is connected by the Kizugawa River. The area has long been regarded as the western gateway to Kyoto and was of strategic importance in protecting it from approach from both the San'in region and San'yo regions of western Japan. Recognizing the importance of this location, Oda Nobunaga's vassal Akechi Mitsuhide constructed a castle from which he conquered Tanba Province.[4][5] It was from this castle that he later set out in 1582 to assassinate Nobunaga at the Honnō-ji Incident.[6] After Akechi Mitsuhide's defeat by Toyotomi Hideyoshi, the castle was held by a number of members of the Toyotomi clan or various generals, who changed in rapid succession, including Maeda Gen'i, one of Toyotomi Hideyoshi's Go-Bugyō. Maeda joined the Western army at the Battle of Sekigahara, but although he was on the losing side, Tokugawa Ieyasu confirmed him as daimyō of the 50,000 koku Kameyama Domain under the Tokugawa shogunate. His adopted son, Maeda Shigekatsu was transferred to Yakami Domain in 1609. The domain then passed through a large number of fudai clans in its history, most of whom stayed for only one or two generations.
In 1609, Okabe Nagamori was transferred from Shimōsa Province as a measure against Toyotomi Hideyoshi in Osaka Castle. The castle town was completed, and Kameyama Castle was rebuilt with the assistance of various western daimyō as a gesture of fealty to the Tokugawa. The Okabe were transferred to Fukuchiyama Domain in 1621. Later that same year, Matsudaira Narishige of the Ogyu-Matsudaira was transferred from Nishio Domain in Mikawa Province. His son, Matsudaira Tadaaki, was transferred to Bungo Province in 1634. The Matsudaira were replaced by Suganuma Sadayoshi of Zeze Domain. On the death of his son Suganuma Sadaakiara without heir in 1647, the domain passed to Matsudaira Sadaharu of the Fujii-Matsudaira, formerly of Kakegawa Domain. The clan ruled to 1686, when they were transferred to Iwatsuki Domain. The domain was then ruled from 1686-1697 by Kuze Shigeyuki, formerly of Niwase Domain. After his transfer to Yoshida Domain, Inoue Masamune of Gujō Domain ruled briefly to his transfer to Shimodate Domain in 1702. The Aoyama clan then ruled to 1748, with Aoyama Tadashige coming from Hamamatsu Domain, and his grandson Aoyama Tadatomo going to Sasayama Domain.
Following the Aoyama, the domain came under the rule of the Katanobara-Matsudaira clan, who would continue to rule for the remainder of the Edo Period. This brought a period of political stability to the domain. The 7th daimyō, Matsudaira Nobuyoshi served as Jisha-bugyō, Osaka jōdai and rōjū during the tumultuous Bakumatsu period,and narrowly escaped assassination for his role as Ii Naosuke's assistant in the Ansei Purge. He was one of the Japanese negotiators in the Anglo-Satsuma War. His successor, Matsudaira Nobumasa reversed the domain's position, and quickly joined the imperial side in the Boshin War. On July 27, 1869 the domain's name was officially changed to "Kameoka Domain" to avoid confusion with Ise-Kameyama Domain. In 1871, with the abolition of the han system, Kameoka briefly became "Kameoka Prefecture", which was merged with Kyoto Prefecture a few months later.
As with most domains in the han system, Tanba-Kameyama Domain consisted of several discontinuous territories calculated to provide the assigned kokudaka, based on periodic cadastral surveys and projected agricultural yields.[7][8]