Hashihime (橋姫) ("the maiden of the bridge"[1]) is a character that first appeared in Japanese Heian-period literature, represented as a woman who spends lonely nights waiting for her lover to visit, and later as a fierce “oni” or demon fueled by jealousy.
[2][3] According to legend, Hashihime in mortal life was the daughter of a certain nobleman, but consumed by jealousy, made a wish to become a kijin (an oni demon) capable of destroying her love rival.
[6] According to it, Hashihime was originally a mortal during the reign of Emperor Saga (809 to 823),[4] but after turning demon and killing her rival, her man's kinsmen, then indiscriminately other innocent parties, she lived on beyond the normal human life span, to prey on the samurai Watanabe no Tsuna at the Ichijo Modoribashi (一条戻橋) "Turning Back bridge at the street crossing of Ichijō and Horikawa" bridge, only to have her arm severed by the sword Higekiri (髭切).
Thus in the Tsurugi no maki can be seen such elements as the wearing of the tripod (here called kanawa (鉄輪)) and propping lit torches (similar to candles in later tradition), but the woman painted her entire face and body red, rather than remain in pure white garb.
[4] Therefore, the later form of the ushi no mairi developed afterwards, through the marriage of the use of dolls in the Japanese esoteric art of onmyōdō with the shrine visiting of the ox hour[citation needed].