It is dedicated to the child Emperor Antoku, who died in the Battle of Dan-no-ura (aka Dannoura), which occurred nearby in 1185.
In the Tale of Heike, Nii-no-Ama told Antoku, before jumping, that they would go to an underwater palace, without referring to Ryūgū-jō.
Then, Antoku's mother (Kenreimon-In, aka Taira no Tokuko) had a dream, in which they were living in Ryūgū-jō.
The grounds also contain the Nanamori-zuka (seven mounds), which represent the Heike warriors also lost in the Battle of Dan-no-Ura.
In 1871, the Kanpei-sha (官幣社) identified the hierarchy of government-supported shrines most closely associated with the Imperial family.