The election took place on May 12, 1968, as scheduled, and tension mounted over the succeeding eighteen days as the Election Board and the Electoral Tribunal delayed announcing the results. Finally the Election Board declared that Arias had carried the election by 175,432 votes to 133,887 for Samudio and 11,371 for González Revilla. The Electoral Tribunal, senior to the Board and still loyal to Robles, protested, but the commander of the National Guard, Brigadier General Bolívar Vallarino, despite past animosity toward Arias, supported the conclusion of the Board.
Arias took office on October 1, demanding the immediate return of the Canal Zone to Panamanian jurisdiction and announcing a change in the leadership of the National Guard. He attempted to remove the two most senior officers, Vallarino and Colonel José María Pinilla, and appoint Colonel Bolívar Urrutia to command the force. On October 11 the Guard, for the third time, removed Arias from the presidency. With seven of his eight ministers and twenty-four members of the National Assembly, Arias took refuge in the Canal Zone.
The overthrow of Arias provoked student demonstrations and rioting in some of the slum areas of Panama City. The peasants in Chiriquí Province battled guardsmen sporadically for several months, but the Guard retained control. Urrutia was initially arrested but was later persuaded to join in the two-man provisional junta headed by Pinilla. Vallarino remained in retirement. The original cabinet appointed by the junta was rather broad based and included several Samudio supporters and one Arias supporter. After the first three months, however, five civilian cabinet members resigned, accusing the new government of dictatorial practices.
The provisional junta moved swiftly to consolidate government control. Several hundred actual or potential political leaders were arrested on charges of corruption or subversion. Others went into voluntary or imposed exile, and property owners were threatened with expropriation. The National Assembly and all political parties were disbanded, and the University of Panama was closed for several months while its faculty and student body were purged. The communications media were brought under control through censorship, intervention in management, or expropriation.
Pinilla, who assumed the title of president, had declared that his government was provisional and that free elections were to be scheduled.