The Chinese associations mediated disputes and soon began participating in the hospitality industry, lending, health, and education and funeral services. The latter became especially significant for the Chinese community because for religious reasons many of the immigrants laid value to burial or cremation (including the scattering of ashes) in China. In the 1880s many of the city and regional associations united to form a national Chinese Consolidated Benevolent Association (CCBA), an umbrella organization, which defended the political rights and legal interests of the Chinese American community, particularly during times of anti-Chinese repression. By resisting overt discrimination enacted against them, the local chapters of the national CCBA helped to bring a number of cases to the courts from the municipal level to the Supreme Court to fight discriminatory legislation and treatment. The associations also took their cases to the press and worked with government institutions and Chinese diplomatic missions to protect their rights. In San Francisco's Chinatown, birthplace of the CCBA, formed in 1882, the CCBA had effectively assumed the function of an unofficial local governing body, which even used privately hired police or guards for protection of inhabitants at the height of anti-Chinese excesses.