On November 7, 1967 FLOSY tried to attack a federal army base but the army defeated FLOSY with the NLF's help, inflicting heavy losses on FLOSY. After the defeat FLOSY´s fighting force disbanded although some cadres and leaders remained outside the country. Most of the opposing leaders reconciled by 1968, in the aftermath of a final royalist siege of San'a'. Qahtan Muhammad al-Shaabi held the presidency until 22 June 1969, when a hard-line Marxist group from within his own NLF seized control. Salim Rubai Ali (Salmin) replaced al-Shaabi as country leader. After the civil war in 1970, Saudi Arabia recognized the Yemen Arab Republic and a ceasefire against remaining belligerents was put in place. The NLF changed the name of South Yemen on 1 December 1970 to the People's Democratic Republic of Yemen (PDRY). The NLF changed its name to the Yemeni Socialist Party (YSP) in 1978. All other political parties were amalgamated into the Yemeni Socialist Party (YSP), which became the only legal party.