Following negotiations in San Salvador, Carlos Castillo Armas became president on 7 July 1954. Elections were held in early October, from which all political parties were barred from participating. Castillo Armas was the only candidate and won the election with 99% of the vote. Castillo Armas reversed Decree 900 and ruled until 26 July 1957, when he was assassinated by Romeo Vásquez, a member of his personal guard. After the rigged election that followed, General Miguel Ydígoras Fuentes assumed power. He is celebrated for challenging the Mexican president to a gentleman's duel on the bridge on the south border to end a feud on the subject of illegal fishing by Mexican boats on Guatemala's Pacific coast, two of which were sunk by the Guatemalan Air Force. Ydigoras authorized the training of 5,000 anti-Castro Cubans in Guatemala. He also provided airstrips in the region of Petén for what later became the US-sponsored, failed Bay of Pigs Invasion in 1961. Ydigoras' government was ousted in 1963 when the Guatemalan Air Force attacked several military bases; the coup was led by his Defense Minister, Colonel Enrique Peralta Azurdia.