Long ago, there was a land called Wei. 

Long ago, a land called Wei was in China. 

Cao Wei was a major state in China. It began in 220 AD. A man named Cao Pi started it. He was the son of Cao Cao. 
Wei fought many wars to stay strong. They fought against two other states named Shu and Wu. 
Cao Wei was a very important state in China. It was part of the Three Kingdoms period. This was a time when China was split into three parts. 
To rule, the state used a special system. Cao Pi wanted to make the central government stronger. He created two new government bodies to help him. 
Cao Wei began during the end of the Han dynasty. A leader named Cao Cao laid the foundations. In 213 AD, the government named him the Duke of Wei. He was given ten cities to rule. Cao Cao died on March 15, 220 AD. His son, Cao Pi, took over his title. On December 11, 220 AD, Cao Pi became the emperor. This officially started the state of Wei. Other leaders like Liu Bei and Sun Quan also claimed power during this time.
Wei had to fight many wars to protect its borders. They fought against the states of Shu and Wu. 
Over time, the ruling Cao family lost its power. In 249 AD, Sima Yi took control from a regent named Cao Shuang. This was a big change for the empire. The later emperors were often just puppets for the Sima family. 
Cao Wei was a major dynastic state in China during the Three Kingdoms period. It is also known as Former Wei. Historians use the name Cao Wei to distinguish it from other Chinese states named Wei. This state held power over much of northern China. Its capital began in Xuchang before moving to Luoyang. The dynasty shaped how central governments managed power and social classes for centuries.
The state was founded upon work done by Cao Cao. He was the chancellor to the last Han ruler, Emperor Xian. In 213 AD, the government named Cao Cao the Duke of Wei. He received ten cities as his dukedom. In 216 AD, he was promoted to the status of King of Wei. Cao Cao died on March 15, 220 AD. His son, Cao Pi, inherited his title. On December 11, 220 AD, Cao Pi forced Emperor Xian to abdicate. This act established the state of Wei with Cao Pi as emperor. 
To manage the empire, Cao Wei used several specific government mechanisms. Cao Pi created two new bodies: the Central Inspectorate and the Imperial Secretariat plenipotentiary. These were designed to reduce the power of the original Imperial Secretariat. He also changed how provinces were managed. He reduced the role of a Governor to that of an Inspector. Inspectors only handled civil affairs. Military affairs were moved to separate regional offices or the capital. This helped the central government keep more control over the land.
A minister named Chen Qun developed the nine-rank system for civil service. This system was used to nominate people to government positions. It created a rigid social structure between commoner households and noble households. This system allowed aristocratic families to hold office through inheritance. These powerful families became large landowners and local warlords. They even kept private militias of military retainers and farmers. These retainers were often bondservants who lived on the magnates' lands. This social system lasted until the Sui dynasty introduced a new examination system.
Wei spent much of its history fighting wars to protect its borders. It faced constant conflict with the rival states of Shu and Wu. Between 228 and 234 AD, the Shu chancellor Zhuge Liang led five military campaigns. He tried to conquer the strategic city of Chang'an. Wei generals like Cao Zhen and Sima Yi successfully repelled these invasions. In 238 AD, Sima Yi led a massive campaign to Liaodong. He took 40,000 troops to capture the capital, Xiangping. This mission took three months and succeeded by late September. 
Wei also engaged in the Goguryeo–Wei Wars starting in 242 AD. The kingdom of Goguryeo tried to take a Chinese fort to block access to Korea. Wei responded with an invasion that defeated Goguryeo. Wei forces even destroyed the city of Hwando in a raid. These wars were so impactful that Goguryeo was not mentioned in Chinese texts for fifty years. However, internal changes eventually weakened the Cao family's grip on power. In 249 AD, the regent Sima Yi seized control from the regent Cao Shuang. This event caused the imperial authority of the Cao family to collapse. 
After Sima Yi, the Sima family gradually took over the state. The later Wei emperors became puppets of the Sima clan. Sima Yi's son, Sima Shi, continued this control as regent. He even deposed Emperor Cao Fang in 254 AD. Sima Yi's grandson, Sima Yan, eventually took the final step. In 266 AD, Sima Yan forced Emperor Yuan to abdicate. He proclaimed himself the emperor of the new Jin dynasty. This officially ended the Cao Wei state. Despite the change in leadership, many cultural developments from Wei survived.
Cultural achievements flourished during the Cao Wei period. The kaishu style of Chinese calligraphy was developed during this era. Zhong Yao was a famous official and master of this writing style. The Jian'an poetry style also emerged during this time. Cao Zhi, the son of Cao Cao, was a known master of this poetry. Intellectual life also saw new groups like the Seven Sages of the Bamboo Grove. These groups formed because intellectual constraints were relaxed during the dynasty. These cultural and political shifts left a lasting mark on Chinese history.
🖼️ Images & Media (3)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.