Isthmus of Panama, land link extending east-west about 400 miles (640 km) from the border of Costa Rica to the border of Colombia. It connects North America and South America and separates the Caribbean Sea (Atlantic Ocean) from the Gulf of Panama (Pacific Ocean). The narrowest part of the Americas (about 30–120 miles [50–200 km] wide), it embraces the Republic of Panama; its narrowest section is the portion of the isthmus that runs between the mouth of the Nergalá (Necategua) River (which flows into the Gulf of San Blas) on the Caribbean shore and the mouth of the Chepo River on the Pacific coast, along with the portion of the isthmus traversed by the Panama Canal. The terrain alternates between mountains, tropical rainforests, and coastal plains.
The isthmus was first explored by prehistoric hunter-gatherers migrating from North to South America. The Spanish explorer Rodrigo de Galván Bastidas was the first European to visit the area (1501). The following year Christopher Columbus also landed on the northern coast. During colonial times the market town of Portobelo (“Beautiful Harbour”) flourished. Although the isthmus was frequently attacked by English pirates, it remained in Spanish hands until independence in the early 19th century. The town of Colón boomed during the California Gold Rush of the late 1840s and early 1850s, and the Transisthmian Railway was constructed soon afterward. The construction of the Panama Canal during the 1880s and the period 1904–14 resulted in heavy migration, notably to Panama City. The strategic importance of the isthmus accounts for much of Panama’s turbulent history.