Prior to the establishment of the People's Republic of China, most Han towns and cities in Yunnan contained Dongjing associations, exclusive religious societies oriented around worship of the Taoist deity Wenchang Wang.
From 1949 to 1978, the Dongjing associations were suppressed under Communist rule.