존왕양이
The final "daimyō", Ōmura Sumihiro, was initially a strong supporter of the Tokugawa government, and was entrusted with the position of Nagasaki bugyō in 1862. However, he defected to the "Sonnō jōi" side in 1864, and joined with the Satchō Alliance in the Boshin War. In 1871, with the abolition of the han system, Ōmura domain became part of the new Nagasaki Prefecture.