Masahira became Togugakushi (an educator of the Crown Prince) and Monjohakase (a teacher of poem and history) before getting promoted to Shoshiinoge (Senior Fourth Rank, Lower Grade) at Shikibusho.
東宮学士や文章博士を経て、正四位下式部省に至る。