The earliest known form of the narrative dates to the reign of King
Shō Shin of the
Second Shō dynasty. A stone monument dated 1522 makes reference to "three dynasties of Shunten's, Eiso's and Satto's". His son King
Shō Sei expressed the line of succession in a slightly more elaborate form. The
Katanohana Inscription (1543) reads: "Shō Sei, King of Chūzan of the Great State of Ryūkyū, ascended to the throne as the 21st king since Sonton [Shunten]" (大りうきう国中山王尚清ハ、そんとんよりこのかた二十一代の御くらひをつきめしよわちへ). Similarly, another stone monument dated 1597 states that
Shō Nei is the 24th king since Sonton [Shunten] (しやうねいハそんとんよりこのかた二十四たいのわうの御くらゐ...). The numbers of kings mentioned in these monuments agree with those of the official history books compiled much later although it is not clear whether the individual members were fixed at this stage. Historian Dana Masayuki relates the notion of the line of succession to Buddhist temples where
ancestral tablets of the deceased kings were stored. According to the
Chūzan Seifu, Manju-ji stored the ancestral tablets of Satto, Bunei, Shishō and
Shō Hashi, while the tablets of
Shō Taikyū and
Shō Toku were at
Tenkai-ji.
Shō En, the founder of the Second Shō dynasty, established
Tennō-ji and designated it as the family mausoleum. It is not certain which temples were dedicated to the missing kings of the
First Shō dynasty,
Shō Chū,
Shō Shitatsu, and
Shō Kinpuku. Nevertheless, each king performed "ancestral" worship for deceased kings from different dynasties in the presence of a Chinese envoy, presumably because they deceived the Chinese into thinking that the throne was normally succeeded from the father to the son. According to the
Ryūkyū-koku yuraiki (1713), Ryūfuku-ji in Urasoe, in addition to the above-mentioned temples, served as the royal mausoleum. This temple stored inkstone tablets representing the deceased kings from Shunten to Shō Hashi. According to the
Chūzan Seifu, Ryūfuku-ji was originally founded by Eiso under the name of Gokuraku-ji and was re-established by Shō En. Dana Masayuki surmises that Gokuraku-ji used to serve not only as the family mausoleum of the Eiso dynasty but as the state mausoleum tracing the royal line back to Shunten. The apparent conflict between Manju-ji and Gokuraku-ji is resolved if Manju-ji is seen as a representation of the state in relation to China while Gokuraku-ji was the manifestation of Okinawa's own narrative. Shō Shin established
Enkaku-ji and transferred the function of the family mausoleum from Tennō-ji to Enkaku-ji. Shō Shin founded another temple named
Sōgen-ji and decided to use it as the
state mausoleum while the function of Enkaku-ji was clarified as the mausoleum of the Second Shō dynasty. He moved all ancestral tablets, starting from Shunten, to Sōgen-ji and thereby visualized the single line of succession based on Okinawa's own narrative. == Minamoto no Tametomo as the father of Shunten ==