Ok troll...
"The Meiji Restoration
The Meiji Restoration began when Emporer Meiji ascended to the throne and replaced the Tokugawa Bakufu as the ruling power, once restoring the imperial rule which had been absent from Japan for so long. Having learned from history, he then took steps to ensure that no new shogun would rise up to displace him. Having established a new imperial court at Edo, he redubbed the city 'Tokyo'. He then instituted radical changes that effectively ended the old class system and spelled out the end of the samurai. However, some samurai refused to bow out quietly and there were a few rebellions during the 1870's, the last of which ended in 1877."
The Meiji Restoration & Beyond