Wei (in Chinese: 魏), also known as Cao Wei (in Chinese: 曹魏), are the antagonistic and an anti-heroic faction in the 14th-century Chinese classic novel Romance of the Three Kingdoms by the late Luo Guanzhong, and its multiple adaptations. They are one of the three influential kingdoms in China. In Dynasty Warriors and the most fictional media, the country is symbolized by the color blue and a Chinese phoenix.
Cao Cao was a military warlord of Yan Province, but he had conquered many times in his early years. He participated in the Han forces, such as the anti-Yellow Turbans and the alliance against Dong Zhuo, and also expanded his territory. After Han forces defeated Dong Zhuo in the Battle of Hulao Gate, Cao Cao is already controlled the central plain of China and had become a force worthy of being taken into account. In the eight years that followed he conquered all of the north, Ji province, becoming the dominant force in China. Over time, its territory reached the entire north of the country, delimiting south with Hanzhong, much of Jing Province and Changjiang River.
After Cao Cao's death, and his second position was occupied by his second son Cao Pi. When Cao Pi founded the kingdom of Wei and dethroned Emperor Xian, thus the end of Han dynasty and proclaiming himself as the emperor of Wei. However, his throne was disputed immediately by Liu Bei of Shu Han, followed by Sun Quan from Eastern Wu. After Cao Pi's death, but his son Cao Rui was succeeded him. He had to cope with the invasions of Zhuge Liang, but he left that to Sima Yi, who was becoming a rising star. Wei court was divided into two major factions at this time. One is the Cao family, which was dominated by Cao Zhen and Cao Xiu and the second is the new forces based on the Sima Yi family and the Jia Kui family.
After Xiahou Dun and Xiahou Yuan dies, Xiahou family's talent ability has declined and they gradually moved away from power. As a result, the Sima family was so powerful that the Xiahou family could not compete. Gongsun Yuan declared himself "King of Yan" after flirting with Eastern Wu for a period of time, while Sima Yi was sent to calm the uprising in Liaodong. It took a year for the sport, Sima Yi and Guanqiu Jian besieged him in Xiangping Castle, they were sent to attack Wei main camp and lured his troops. After defeating them, Cao Wei armies attacked Gongsun Yuan's castle. When Gongsun Yuan is tried to surrender, but Sima Yi told him that he ventured to believe that his uprising had a chance, which is not worth living for him.
Sima Yi had Gongsun Yuan and his family were executed, Cao Wei resumed order on the Liaodong Peninsula. It gradually formed a serious confrontation and planting the seeds of Gaoping Tombs in the future. However, Sima Yi and general Cao Shuang were appointed as his regents. Cao Shuang was cautious about Sima Yi's power and forced him to retire. Sima Yi pretended to be sick and pretended to be jealous. He retired from public life. Cao Shuang controlled the Wei government and planned the invasion of Shu, Sima Yi finally decided to overthrow Cao Shuang. Sima Yi seized control of Luoyang from Cao Shuang's forces, Cao Shuang and Cao Fang paid tribute to the Gaoping tombs, which were the burial sites of the Wei emperors.
When Cao Shuang and his main force returned, Sima Yi completely controlled the capital. After the occurrence of Incident at the Gaoping Tombs, Xiahou family was exiled to the border or surrendered to Shu. When Cao Mao is tried to recaptured Sima Zhao's state power in the coup, but was killed by Cheng Ji, an officer serving under Jia Chong, a subordinate to the Simas. After Cao Mao dies, Cao Huan was appointed as the fifth ruler of Wei. However, under the control of Sima Zhao, Cao Huan is just a jealousy, much like his predecessor. After Wei defeated Shu Han, Wei was overthrown by Sima Yan, the grandson of Sima Yi as well as the new emperor. Sima Yan then founded the Jin Dynasty. Overall, there were five kings of Wei empire.
- Wei also appears as one of the factions in the Knights of Valour game series.
- In Kessen II, their armies is symbolized by the color red.