Commodore Matthew Perry's "Black Ships" expedition ended Japan's sakoku (closed country) policy and triggered profound change:
Treaty of Kanagawa (1854) opened Shimoda and Hakodate to US ships, guaranteed aid for shipwrecked sailors, and established a US consulate. Similar treaties followed with Britain, France, Russia, Netherlands.
Science, industry, military tactics, legal systems, and political philosophy entered Japan. Students were sent abroad; foreign advisors hired.
Feudal domains abolished; centralized imperial government created. Constitution (1889), modern military, industrialization (zaibatsu), railway, telegraph, universal education.
Rapid growth made Japan a great power by 1905 (Russo-Japanese War). Samurai class dissolved; new middle class emerged. Shinto promoted as state ideology.
Perry's arrival was the catalyst that forced Japan onto the world stage, leading to a top-down modernization that reshaped its society, economy, and global role.