During the Three Kingdoms period of Chinese history, Cao Pi, the first emperor of the state of Cao Wei, invaded the rival state of Eastern Wu thrice during his reign between 222 and 225.