The Meiji Restoration began on January 3, 1869 in Japan, ending the rule of the Tokugawa shogunate. Emperor Meiji Mutsuhito was restored as the head of state. During the restoration, Japan's borders were opened to Western influence, the economy was modernized, the military was strengthened, education was improved, and the rigid social structure was eliminated. The goals of the Meiji government were to enrich the country, strengthen the military, pursue civilization and enlightenment, and catch up and overtake the Western powers.