Thailand farmed or hunted for their meat, which is considered a delicacy, and for their supposed medicinal properties. Although such trade is illegal, the famous Bangkok market Chatuchak is still known for the sale of endangered species. The practice of keeping wild animals as pets threatens several species. Baby animals are typically captured and sold, which often requires killing the mother. Once in captivity and out of their natural habitat, many pets die or fail to reproduce. Affected populations include the Asiatic black bear, Malayan sun bear, white-handed lar, pileated gibbon and binturong. Thailand is divided into 76 provinces (, changwat),
Pai, Thailand and authority of the Lanna kingdom. Ban Wiang Nuea as a result became a village sharply divided into two parts by a wall into a "Shan" part and a "Lanna" part. In the second half of the 19th century, colonial powers France and England, who had already established their influence in Vietnam, Cambodia, Laos, and Burma, were viewing the area of modern-day Thailand with increasing interest. To consolidate Siam's influence and authority in the northern border region, the royal house encouraged Northern Thais from provinces like Payao, Lamphun, and Nan to migrate to those areas. The result again was conflict: