The samurai (or bushi) were Japanese warriors. They were members of the important military class before Japanese society changed in 1868. The samurai were also considered as a type of hereditary nobility as well.