 The stone gate was first built in 1519, during the reign of Ryukyuan king Shō Shin, though the space had been recognized as a sacred "utaki" prior to that.Whenever the king left the castle on a journey, he would first stop at Sonohyan-utaki to pray for safe travels.The site also played an important role in the initiation of the of the native religion.