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 coalitions, such as the anti-Yellow Turbans and the alliance against Dong Zhuo, and also expanded his territory.
After Han coalitions battle against Dong Zhuo in the Battle of Hulao Gate, Cao Cao begins to reunify China. Although 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.
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. When they were sent to attack Wei main camp, they lured his troops. After defeating them, Cao Wei armies attacked Gongsun Yuan's castle. Gongsun Yuan 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, and Cao Wei resumed order on the Liaodong Peninsula.
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. Several people cried for Sima Yi to regain power, and Sima Yi finally decided to overthrow Cao Shuang. With the help of loyal officers, Sima Yi seized control of Luoyang from Cao Shuang's forces, while 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.
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's death, 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.