Heike monogatari
In the 12th-century work, "The Tale of the Heike", it was written that different samurai carried drawings of the sun on their fans. One legend related to the national flag is attributed to the Buddhist priest Nichiren. Supposedly, during a 13th-century Mongolian invasion of Japan, Nichiren gave a sun banner to the "shōgun" to carry into battle.