By the middle of the 5th century, in the center of ancient Hanoi, a fortified settlement was founded by the Chinese Liu Song dynasty as the seat of a new district called Tống Bình (Songping) within Giao Chỉ commandery. The name refers to its pacification by the dynasty. It was elevated to its own commandery at some point between AD 454 and 464.  The commandery included the districts of Yihuai (義懷) and Suining (綏寧) in the south of the Red River (now Từ Liêm and Hoài Đức districts) with a metropolis (the domination centre) in the present inner Hanoi.