The Samurai (or bushi) were the warriors of premodern Japan. They later made up the ruling military class which eventually became the highest ranking social caste of the Edo Period