The samurai were a class of Japanese warriors who rose to power in the 12th century. They were known for their skill in combat and their code of honor, which included loyalty, courage, and respect. The samurai way of life was based on Bushido, or the "Way of the Warrior." This code emphasized loyalty to one's lord, self-discipline, and personal honor.