It faced budget cuts, the burden of an amended electoral system and a legal challenge from Jacob Zuma