Yasumasa Hirai

Yasumasa Hirai (平井保昌) is a fictional character from the historical fantasy novel Teito Monogatari by Hiroshi Aramata.

He also appears in the prequel novel Teito Gendan Hirai is the direct descendant of Abe no Seimei and a master Onmyoji.

[1] This is one of the last notable instances in Japanese pop culture of the "wise old sorcerer" image being used for Seimei or his descendants as the overwhelming success of Baku Yumemakura's Onmyoji series would result in them usually being illustrated as bishonen in future depictions.

[2] In the first cinematic adaptation of Teito Monogatari, Hirai was played by veteran actor Mikijiro Hira.

The character also appears in Kamui Fujiwara's manga adaptation of Teito Monogatari (Babylon Tokyo).

Mikijiro Hira as Hirai in the live action Teito Monogatari (1988)
Hirai in the animated Teito Monogatari (1991)