The Boshin War was a civil conflict in Japan that took place between 1868 and 1869, primarily between forces loyal to the Tokugawa shogunate and those seeking to restore imperial rule under Emperor Meiji. This war marked a significant turning point as it not only led to the eventual fall of the Tokugawa shogunate but also set the stage for the Meiji Restoration, which aimed to modernize Japan and establish a centralized government.