From 214 onwards, Liu Bei controlled both Jing and Yi provinces after seizing Yi Province from Liu Zhang. In 219, he won a decisive victory over Cao Cao and occupied Hanzhong Commandery. That autumn, his commander in Jing Province, Guan Yu, struck north against Cao Cao's positions on the Han River. This offensive may have been part of the planned two-pronged attack. For the first few months, Guan Yu's attack was remarkably successful and Cao Cao even considered evacuating the imperial capital, Xuchang. At this point, however, Sun Quan took the opportunity to launch a surprise attack and rapidly seized Jing Province. Liu Bei tried unsuccessfully to recapture Jing Province during the Battle of Xiaoting of 222–223, and died shortly thereafter. Even with the loss of Jing Province, Zhuge Liang may have attempted to carry out a modified version of the Longzhong Plan in the form of the Northern Expeditions, although it is arguable that those campaigns had different tactical and strategic goals.