The Qin emperors were the first to form a united empire within China. To establish this empire, the Qin had to confront both the problem of warfare among the Chinese states and between the urban Chinese and the nomadic peoples at the periphery. The Qin dynasty was succeeded by the Han dynasty that took a very different approach to addressing these difficulties.