candidate: During the transitional years between Qin and Han , while the Chinese were mainly focused towards the interior of their nation , the Xiongnu took the opportunity to retake the territory north of the wall .