After the Carnation Revolution military coup in Lisbon on 25 April 1974, the new revolutionary leaders of Portugal and the PAIGC signed an accord in Algiers, Algeria in which Portugal agreed to remove all troops by the end of October and to officially recognize the Republic of Guinea-Bissau government controlled by the PAIGC, on 26 August 1974 and after a series of diplomatic meetings. Demobilized by the departing Portuguese military authorities after the independence of Portuguese Guinea had been agreed, a total of 7,447 black Guinea-Bissauan African soldiers who had served in Portuguese native commando forces and militia were summarily executed by the PAIGC after the independence of the new African country.