In 220 Cao Pi forced Emperor Xian of Han to abdicate, took the throne at Luoyang and named the state Wei - Cao Wei. His father Cao Cao had already laid the base: military farm colonies, hydraulic works, and promotion by talent alone; Cao Pi instituted the nine-rank system of regional arbiters for selecting officials, which the great clans gradually captured. Wei held the Central Plains and the Western Regions, the strongest of the three, facing Shu Han and Eastern Wu across decades: Zhuge Liang's six marches from the Qis Mountains and Jiang Wei's nine campaigns could never break the Guanlong defense line. After the Gaoping Tombs coup of 249 the Sima clan ruled in fact; Wei destroyed Shu in 263, and in 265 Sima Yan re-enacted the abdication, replacing Wei with Jin - five rulers, forty-six years.