Despite opposition both within and outside the country, the government legislated for a continuation of apartheid. The security forces cracked down on internal dissent, and violence became widespread, with anti-apartheid organisations such as the African National Congress (ANC), the Azanian People's Organisation (AZAPO), and the Pan-Africanist Congress (PAC) carrying out guerrilla warfare and urban sabotage. The three rival resistance movements also engaged in occasional inter-factional clashes as they jockeyed for domestic influence. Apartheid became increasingly controversial, and several countries began to boycott business with the South African government because of its racial policies. These measures were later extended to international sanctions and the divestment of holdings by foreign investors.