However, when the Matsuura Party switched sides to the Seiwa-Genji clan (the Minamoto clan originated from Emperor Seiwa) in the Battle of Dannoura, Hisanao followed and later became one of the Chinzei vassals of Kamakura bakufu for his distinguished war service in the battle and appointed by MINAMOTO no Yoritomo as jito (manager and lord of manor) of Mizuma County of Chikugo Province.
しかし、壇ノ浦の戦いにおいて松浦党が清和源氏方に与したのと同じく久直も源家方に立ち、その手柄により鎌倉幕府の鎮西御家人になり、源頼朝から筑後国三潴郡の地頭に任じられる。