Yorihisa, the second head of the Bicchu Ueno clan, restored Tenchuzan Ankoku-ji Temple (Raikyu-ji Temple) of the Rinzai sect in Bicchu Matsuyama and turned it into the family temple.
備中上野氏二代　頼久は、備中松山の臨済宗天柱山安国寺(頼久寺)を再興し菩提寺とした。