 The golden age of Valparaíso's commerce ended after the opening of the Panama Canal (1914).Shipping shifted to the canal as captains sought to avoid the risks of the Strait of Magellan.The port's use and traffic declined significantly, causing a decline in the city's economy.