The dragon is associated with a wealth of legend and symbolism in old Japan, signifying both the holy nature of Shinto and the wisdom of Buddhism. Representations of the dragon are found from the earliest historical period wall paintings in the stone tomb chambers of the Kofun period (4th - 7th centuries) together with tiger, phoenix, and gryphon. In Shinto mythology, the deity Ryujin is a dragon who lives under the sea and bears a jewel which controls the tides. In esoteric Buddhism the dragon together with the sword indicate the rope and double-edged sword of Fudo Myo-o, and is the manifestation of other deities. It is also used frequently as the fore-crest on a helmet.