The Meiji Restoration (明治維新 Meiji Ishin?), also known as the Meiji Ishin, Renovation, Revolution, Reform, or Renewal, was an event of change that restored practical imperial rule to Japan in 1868 under Emperor Meiji. Although there were Emperors before the Meiji Restoration, the events restored practical abilities and consolidated the political system under the Emperor of Japan. Meiji government also made education compulsory for both boys and girls at minimal fees.
The goals of the restored government were expressed by the new emperor in the Charter Oath. The Restoration led to enormous changes in Japan's political and social structure, and spanned both the late Edo period (often called the Late Tokugawa shogunate) and the beginning of the Meiji period. The period spanned from 1868 to 1912 and was responsible for the emergence of Japan as a modernized nation in the early twentieth century, and its rapid rise to great power status in the international system.
The Japanese knew that they were behind the European world when American Commodore Matthew C. Perry came to Japan in large warships with armament and technology that far outclassed those of Japan, to try to conclude a treaty that would open up Japanese ports to trade. In Japan however, unlike China, foreign ideas were not associated with opium addiction. Figures like Shimazu Nariakira concluded that "if we take the initiative, we can dominate; if we do not, we will be dominated", leading Japan to "throw open its doors to foreign technology." Observing Japan's response to the western powers, Li Hongzhang considered Japan China's "principal security threat" as early as 1863, years before the Meiji restoration.