Sōgen-ji (崇元寺) was a Buddhist temple and royal mausoleum of the Ryūkyū Kingdom, located in Naha, Okinawa.
In 1496, memorial tablets representing the kings of the Ryūkyū Kingdom were installed in the temple, establishing it as a royal mausoleum.
The temple grounds were expanded at this time as well, with the construction of the massive stone gates and walls which remain today.
[2] All the temple buildings were destroyed in the Battle of Okinawa in 1945; only the stone walls and gates, foundations and steps, and some tablets and steles survived.
Of two stone tablets erected outside the gates warning visitors to dismount, one remains today.