In 1850s, US sent warships under Commodore Perry, and forced the Japanese to open their country for the American shipping and trade. This was known as Gun-boat Diplomacy. Later Japan had similar agreements with Britain, Holland, France and Russia. However, Japan itself emerged as an Imperialist country after the Meiji Restoration.
It was a political revolution under which the erstwhile Tokugawa Shogunate, which was a feudal-military government, was replaced with a new imperial government under the Emperor Meiji. Japan adopted the slogan- ‘Wealthy country and strong arms’ and sought to create a nation-state capable of standing equal among western powers. The government took a number of reforms: