Samurai swore loyalty to their friends and masters. They also followed a special system called Bushido or "Way of the Warrior". This system had personal discipline, skill, courage, obedience, respect and sacrifice. Many samurai also used the teachings of Zen Buddhism.