Yamaga Sokō was a Japanese philosopher and military strategist under the Tokugawa shogunate of Edo period in Japan. As a scholar he applied the Confucian idea of the "superior man" to the samurai class of Japan. This became an important part of the samurai way of life and code of conduct.