平城天皇
His paternal great grandparents were and Akazome Emon, Masahira himself being a grandson of . Koretoki was a son of and grandson of Ōe no Otondo. Otondo was a son of Prince Abo, who was a son of Emperor Heizei.