 A rebel named Triệu Thị Trinh briefly challenged the Chinese rulers in 248, but was soon subdued.Jiaozhi was under Jin China and the Southern and Northern Dynasties of Liu Song, Southern Qi and Liang.Chinese rule ended by 544, when Lý Nam Đế revolted.