The new government under president Samora Machel established a one-party state based on Marxist principles. It received diplomatic and some military support from Cuba and the Soviet Union and proceeded to crack down on opposition. Starting shortly after the independence, the country was plagued from 1977 to 1992 by a long and violent civil war between the opposition forces of anti-communist Mozambican National Resistance (RENAMO) rebel militias and the FRELIMO regime. This conflict characterised the first decades of Mozambican independence, combined with sabotage from the neighbouring states of Rhodesia and South Africa, ineffective policies, failed central planning, and the resulting economic collapse. This period was also marked by the exodus of Portuguese nationals and Mozambicans of Portuguese heritage, a collapsed infrastructure, lack of investment in productive assets, and government nationalisation of privately owned industries, as well as widespread famine.