Onmyōdō

Onmyōdō (陰陽道, also In'yōdō, lit.'The Way of Yin and Yang') is a technique that uses knowledge of astronomy and calendars to divine good fortune in terms of date, time, direction and general personal affairs, originating from the philosophy of the yin-yang and the five elements.

The philosophy of yin and yang and wuxing was introduced to Japan at the beginning of the 6th century, and, influenced by Taoism, Buddhism, and Confucianism, evolved into the earliest system of Onmyōdō around the late 7th century. In 701, the Taiho Code established the departments and posts of onmyōji who practiced Onmyōdō in the Imperial Court, and Onmyōdō was institutionalized. From around the 9th century during the Heian period, Onmyōdō interacted with Shinto and Goryō worship (御霊信仰) in Japan, and developed into a system unique to Japan. Abe no Seimei, who was active during the Heian period, is the most famous onmyōji (Onmyōdō practitioner) in Japanese history and has appeared in various Japanese literature in later years. Onmyōdō was under the control of the imperial government, and later its courtiers, the Tsuchimikado family, until the middle of the 19th century, at which point it became prohibited as superstition.