During the Bakumatsu period, forces from Matsumoto supported the Tokugawa shogunate against the Mito rebellion and at the Kinmon incident and in both Chōshū expeditions. However, with the start of the Boshin War, the final "daimyō" of Matsumoto, Matsudaira Mitsuhisa, changed sides to the imperial cause, and his forces fought in the imperial armies at the Battle of Hokuetsu and the Battle of Aizu. He later served as domain governor until 1871, and was awarded the title of "shishaku" (marquis) under the "kazoku" peerage system. Matsumoto Domain subsequently became part of Nagano Prefecture.