The samurai were Japanese warriors who emerged during the Heian period, around the 9th century. Their main function was to protect the rulers of Japan, but they were also dedicated to war and the administration of justice. Samurai were highly respected in Japanese society, abiding by a strict code of conduct known as bushido, which emphasized loyalty, honor, and discipline.
During Japan's feudal period , the samurai gained great power and wealth, becoming a ruling class in Japanese society. However, with the advent of the Meiji period in the 19th century, Japan modernized and the role of samurai in society began to fade. Although his legacy has been marked in Japanese history and popular culture, the era of the samurai came to an end at the end of the 19th century. Today, samurai are remembered as symbols of bravery, honor, and Japanese tradition.