The Kajiwara clan that derived from Bando Hachi Heishi (the Eight Taira clans of the East) initially served to Kawachi-Genji (Minamoto clan), but after the Minamoto clan declined in the Heiji War, it served to Ise-Heishi (Taira clan).
梶原氏は坂東八平氏の流れをくむ一族で、河内源氏に従っていたが、平治の乱で源氏が没落すると伊勢平氏に仕えた。