Hiroyo originally served in the Imperial court as a monjosho (student of literary studies in the Imperial University), but in 785 he was imprisoned for his alleged involvement in a certain incident.
当初文章生として朝廷に仕えたが、785年（延暦4年）ある事件に連座したとされて禁錮に処せられた。