Many early literary works of Japan talk of warriors, but the term "bushidō" does not appear in text until the Edo period. The code which would become Bushido was conceptualized during the late-Kamakura period (1185–1333) in Japan. Since the days of the Kamakura shogunate, the "way of the warrior" has been an integral part of Japanese culture. Scholars generally regard pre-modern Japan as a "warrior nation" since the medieval period. The samurai were role models for society since medieval times. In accordance with Confucianism, one of their duties was to serve as a role model for society. They balanced their martial arts skills with peaceful accomplishments such as literature, poetry and the tea ceremony. Such as the medieval Japanese proverb "Hana wa sakuragi, hito wa bushi" (, literally "the blossom is the cherry blossom; the [best man is the warrior"). In 1843 Nakamura said: