Answer:
The samurai and daimyo restored the emperor to power and worked to reform Japan.
Step-by-step explanation:
Japan remained isolated for a long time from other countries across the globe. It was did not trust other countries with their better technology because they were so much aggressive.
Mathew Perry came with the US military powered with destructive guns. The japans, therefore, did not have any means of opposing him, and they had to work according to his demands. Because of this, most powers were transferred to the Japanese emperor, and they stated massive importation of different organizations across the globe.