 Learning a lesson from the Trưng revolt, the Han and other successful Chinese dynasties took measures to eliminate the power of the Vietnamese nobles.The Vietnamese elites were educated in Chinese culture and politics.A Giao Chỉ prefect, Shi Xie, ruled Vietnam as an autonomous warlord for forty years and was posthumously deified by later Vietnamese emperors.