It served for centuries as a major center of Chinese learning for the Ryūkyū Kingdom, and contains within its precincts the Meirindō, first public school[1] in Okinawa.
Historian George Kerr cites a July 1910 newspaper advertisement as the last evidence of public interest in annual ceremonial visits to the temple by those who had lived in the time of the Ryūkyū Kingdom.
The central devotion hall, called Taiseiden (大成殿), is a shrine not only to Confucius, but also to Chinese philosophers Zengzi, Zisi, Yan Hui, and Mencius.
[2] A smaller building to the left of the entrance, called the Tenson-byō (天尊廟), is devoted to those who fought to defend the country, and to Guan Yu and the Dragon King, Taoist deities and figures in Chinese folklore and mythology.
The Tenpigū (天妃宮) next to it is devoted to Tenpi, also called Matsu or Mazu, the Taoist goddess of the sea, of sailors, navigators, and fishermen.