Emperor Ōjin
The Ujigami Shrine is dedicated to the Emperor Ōjin and his sons, the imperial princes Uji no Wakiiratsuko and Emperor Nintoku. Uji no Wakiiratsuko committed suicide to solve a dispute over the imperial succession, and the shrine was built in his honor.