Known for the production of salt, a highly prized commodity in the first millennium, Halin was superseded by Sri Ksetra as the premier Pyu city-state circa 7th century. By the Chinese accounts, Halin remained an important Pyu centre until the 9th century when the Pyu realm came under repeated attacks from the Nanzhao Kingdom. The Chinese records state that the city was destroyed by the Nanzhao warriors in 832 CE, with 3000 of its inhabitants taken away. However, radiocarbon dating reveals human activity to about 870 CE, nearly four decades after the reported sack of the city.