the temple was originally located in shingū and called tachibanazan baigaku-ji (立花山梅岳寺), a sōtō temple. in 1587, however, tachibana muneshige who was granted the three districts of chikugo province, yamato, shimotsuma and mizuma and built a castle in yanagawa, started to move to the present location.