However, in the Battle of Toba-Fushimi of 1868, the Miyazu clan joined the side of the Edo bakufu (Japanese feudal government headed by a shogun), which was heavily defeated and became the target of Sanindo Chinbugun (a military unit formed specially for the campaign in Sanindo) the governor of which was Kinmochi SAIONJI.
ところが、慶応4年（1868年）の鳥羽伏見の戦いで宮津藩は江戸幕府に参加して大敗、西園寺公望を総督とする山陰道鎮撫軍の標的とされてしまう。