In Japanese literature, there is an early reference to samurai in the Kokinshū (古今集, early 10th century):