Cao Cao and Lü Bu's forces were locked in a stalemate for at least a hundred days, with Cao on the disadvantageous end. Eventually, Lü Bu abandoned his position because of an outbreak of famine. Cao Cao then laid siege to Lü Bu at Juye, Puyang. Cao Cao's advisors Xun Yu and Cheng Yu defended the cities of Juancheng, Fan and Dong'e, but this left only two counties with solid defenses, so Cao Cao led his army back. Lü Bu arrived and was unable to take Juancheng by siege so he went west and garrisoned Puyang. Lü Bu re-stationed his forces to the east at Shanyang.