Samurai

In the Heian period, powerful regional clans were relied on to put down rebellions. After power struggles, the Taira clan defeated the Minamoto clan in 1160. After the Minamoto defeated the Taira in 1185, Minamoto no Yoritomo established the Kamakura shogunate, a parallel government that did not supplant the imperial court. The warriors who served the Shogunate were called gokenin, landholding warriors whose retainers were called samurai.
During the Sengoku period, there was a great increase in the number of men who styled themselves samurai by virtue of bearing arms, and performance mattered more than lineage. During the Edo period, 1603 to 1868, they were mainly bureaucrats and administrators, roles they had also filled in the past. Only in the Edo period did samurai status become a legal creation.
In 1853, Japan was opened to the West by U.S. Commodore Matthew C. Perry, beginning the ''Bakumatsu'' ("end of the ''bakufu''") era. Samurai from the rebellious Chōshū and Satsuma Domains played a major role in the ''sonnō jōi'' movement against the Tokugawa shogunate, and later in the Meiji Restoration and Boshin War of 1868, which restored power to the emperor. As modern militaries emerged in the late 19th century, the samurai were considered obsolete and expensive to maintain compared to the average conscript soldier. Their class was abolished in the 1870s by the policies of the new Meiji government. Most former samurai became members of the ''shizoku'' class, ranking above the commoner class and allowing them to move into professional and entrepreneurial roles; the ''shizoku'' class was later abolished in 1947. Provided by Wikipedia