Chinese rule continued into the Western Jin Dynasty and intermittently in later centuries. It was recorded that in 283 the son of the king was sent as a hostage to the Chinese court during the reign of Emperor Wu of Jin dynasty. In the 5th century, the Northern Wei installed a Chinese king in Loulan and called the city the Shanshan Fort. Then at the end of the 6th century, the Sui dynasty established the city state of Shanshan at Loulan.