By July 1831, as the new countries of the Venezuela and Ecuador were being established, the isthmus would again declare its independence, now under the same General Alzuru as supreme military commander. Abuses committed by Alzuru's shortlived administration were countered by military forces under the command of Colonel Tomás Herrera, resulting in the defeat and execution of Alzuru in August, and the reestablishment of ties with the rest of New Granada.
In November 1840, during a civil war that had begun as a religious conflict, the isthmus under the leadership of -now General- Tomás Herrera, who assumed the title of Superior Civil Chief, declared its independence as did multiple other local authorities. The State of Panama took in March 1841 the name of 'Estado Libre del Istmo', or the Free State of the Isthmus. The new state established external political and economic ties and by March 1841, had drawn up a constitution which included the possibility for Panama to rejoin New Granada, but only as a federal district. Herrera's style was first changed to Superior Chief of State in March 1841 and in June 1841 to President. By the time the civil conflict ended and the government of New Granada and the government of the Isthmus had negotiated the Isthmus's reincorporation to the union the Isthmus had been independent for 13 months. Reunification happened on December 31, 1841. |