The first appearance of the samurai:
Emperor Mommu introduced the law whereby 1 in 3–4 grown males were drafted into the national military. These soldiers were required to supply their own weapons, and in return were exempted from duties and taxes.
Behind Myth and the Reality:
Most samurai (during the Edo period) were bound by a strict code of honor and were expected to set an example for those below them. A notable part of their code is seppuku which allowed a disgraced samurai to regain his honor by passing into death, where samurai were still beholden to social rules. Whilst there are many romanticized characterizations of samurai behavior such as the script of Bushido in 1905, studies of Kobudo and traditional Budo indicate that the samurai were as matter-of-fact on the battleground as were any other fighters.
Despite the rampant idealism of the 20th century, samurai could be disloyal and treacherous (e.g., Akechi Mitsuhide), cowardly, brave, or overly loyal (Kusunoki Masashige). Samurai were usually loyal to their direct superior, who in turn allied themselves with higher lords. These loyalties to the higher lords often shifted; for example, the high lords allied under Toyotomi Hideyoshi were served by loyal samurai, but the feudal lords under them could shift their support to Tokugawa, taking their samurai with them. There were, however, also notable instances where samurai would be unfaithful to their lord or daimyo, when loyalty to the emperor was seen to have supremacy.
Samurai’s philosophies:
The samurai’s philosophies came from Buddhism and Zen, and to a lesser extent Confucianism and Shinto, prepossess the samurai culture. Zen meditation became an important teaching due to it offering a process to calm one’s mind. The Buddhist concept of reincarnation and rebirth led samurai to abandon torture and needless killing, while some samurai even gave up violence altogether and became Buddhist monks after realizing how fruitless their killings were. Some were killed as they came to terms with these realizations in the battlefield. The most defining role that Confucianism played in samurai philosophy was to stress the importance of the lord-retainer relationship; this is, the loyalty that a samurai was required to show his lord.
Bushidō (a small video and the fact below)
Bushidō (”way of the warrior”) was a term attached to a samurai “code of conduct” or way of life enforced during Edo period by the Tokugawa Shogunate, so that they could control the samurai more easily. Its deceptive simplicity led to countless arguments over its interpretation. Hagakure: The Book of the Samurai by Yamamoto Tsunetomo is a manual of instruction into the way of the samurai. Even as it was published, it received a number of reviews that criticized its strict and impersonal interpretations. If the lord is wrong, for example if he ordered a massacre of civilians, should he observe loyalty to massacre as ordered or should he observe rectitude to let the civilians escape unharmed? If a man had sick parents but committed an unforgivable mistake, should he protect his honour by committing seppuku or should he show courage by living with dishonor and care for his parents?
The incident of 47 Ronin caused debates about the righteousness of the samurai’s actions and how bushido should be applied. They had defied the shogun by taking matters into their own hands but it was an act of loyalty and rectitude as well. Finally, their acts were agreed to be rectitude but not loyalty to the shogun. This made them criminals with conscience and eligible for seppuku