From the 12th century until 1868, Japan was ruled by successive feudal military shōguns who ruled in the name of the Emperor.
Japan entered into a long period of isolation in the early 17th century, which was ended in 1853 when a United States fleet pressured Japan to open to the West.