The Samurai of medieval Japan were the class of trained military officers who served the local or regional lord in a feudal society. As Japan modernized in the 18th and 19th centuries, their positions became obsolete, but they are far from forgotten. They live on in various forms of media, which include live-action movies, novels, manga, and anime productions.