薩長同盟
In 1643, Nagashige's son, Niwa Mitsushige, as transferred to Nihonmatsu Domain (100,700 "koku"), where the clan remained until the Meiji restoration. During the Boshin War, Niwa Nagakuni joined the Ōuetsu Reppan Dōmei in 1868; however, his forces were defeated by the Satchō Alliance and Nihonmatsu Castle was burned. The victorious Meiji government reduced the domain to 50,700 "koku" under the final "daimyō" Niwa Nagahiro, who subsequently served as imperial governor until the abolition of the han system in 1871. In 1884, he became a viscount ("shishaku") under the kazoku peerage system.