In the mid-nineteenth century, Japan went from being an isolated country with a feudal system to a country with great economic and military power. The change is known as the Meiji revolution, these changes occurred in all the habits of the country.
The government of Japan was feudal and isolated. The power of the country was divided between the so-called "Warlords" or Samurai. From the 17th century, the shogunate was occupied by the Tokugawa family, who ruled the country from the city of Edo. The Japanese economic base was agriculture, especially rice. The majority of the population was peasant and lived in the harsh conditions of servitude.