Samurai or bushi were members of the warrior class in Japan. They were originally provincial warriors who served the Kuge and imperial court in the late 12th century.