The Japanese feudal era was a dark time, where the loyalty and courage of the warriors were constantly being tested. The Samurai, the military class of ancient Japan, were trained to protect their lords and honor the bushido code, a set of moral principles that emphasized honor, loyalty, and courage.