Commodore Matthew C. Perry of the U.S. Navy forced Japan's opening in 1853.
Leading a squadron of four "Black Ships" (steam frigates) into Edo (Tokyo) Bay, he delivered President Fillmore's letter demanding trade and diplomatic relations. After a show of force and negotiations, the Treaty of Kanagawa (1854) opened Shimoda and Hakodate to U.S. ships, established a consul, and ended 220 years of sakoku (closed country).
This triggered the Meiji Restoration (1868), propelling Japan from feudal isolation to modern imperial power.