"Onmyoji" is a traditional Japanese practice rooted in ancient China, later adopted and evolved uniquely in Japan. In Japan's history, particularly during the Heian period (794-1185), onmyoji played a significant role by providing divination and sacred services for the imperial family and nobility. However, over time, the role of onmyoji gradually diminished.