<Tr> <Td_colspan="2"> <Ul> <Li> Economic </Li> <Li> Constitutional </Li> <Li> Military </Li> </Ul> </Td> </Tr> <Ul> <Li> Economic </Li> <Li> Constitutional </Li> <Li> Military </Li> </Ul> <P> The separation of Panama from Colombia was formalized on 3 November 1903, with the establishment of the Republic of Panama . From the Independence of Panama from Spain in 1821, Panama had simultaneously declared independence from Spain and joined itself to the confederation of Gran Colombia through the Independence Act of Panama . Panama was always tenuously connected to the rest of the country to the south, owing to its remoteness from the government in Bogotá and lack of a practical overland connection to the rest of Gran Colombia . In 1840 - 1841, a short - lived independent republic was established under Tomás de Herrera . After rejoining Colombia following a 13 - month independence, it remained a province which saw frequent rebellious flare - ups, notably the Panama crisis of 1885, which saw the intervention of the United States Navy . </P> <P> During the construction of the Panama canal, the initial attempts by France to construct a sea - level canal across the isthmus were secured through treaty with Colombia; however French cost overruns and corruption in the Panama scandals led to abandonment of the Canal for a decade . During the intervening years, local separatists used the political instability of the Thousand Days' War to agitate for political separation from Colombia and establishment of an independent republic . When the United States sought to take over the canal project, the government of Colombia proved difficult to work with, and with the cooperation of French financier Philippe - Jean Bunau - Varilla, Panama simultaneously declared independence from Colombia and negotiated a treaty granting the U.S. the right to construct the canal . </P>

Panama declared itself independent of what country in 1903