Boshin War
Many territories that became the first prefectures were territories confiscated from domains in the Boshin War, especially domains part of the "Ōuetsu Reppan Dōmei" alliance.