He raised an army against Kamakura bakufu (Japanese feudal government headed by a shogun), and was invited by Emperor Godaigo in Mt. Senjozan in Hoki Province where he provided advice to the emperor in response to the question, and conferred on the title Kokusai Kokushi and the Imperial prayer 'Tencho Unju Kosei Zenji.'
鎌倉幕府に対して挙兵し、伯耆国船上山にいた後醍醐天皇に招かれて天皇からの諮問に答え、国済国師の号と天長雲樹興聖禅寺の額を賜った。