Dissatisfaction culminated in a second coup d'état on 25 May 1969. The coup leader, Col. Gaafar Nimeiry, became prime minister, and the new regime abolished parliament and outlawed all political parties. Disputes between Marxist and non-Marxist elements within the ruling military coalition resulted in a briefly successful coup in July 1971, led by the Sudanese Communist Party. Several days later, anti-communist military elements restored Nimeiry to power.