It began in Quito, Ecuador, passed through Cusco, and ended in what is now Tucumán, Argentina. The Camino Real traversed the mountain ranges of the Andes, with peak altitudes of more than 5,000 m (16,000 ft). El Camino de la Costa, the coastal trail, with a length of 4,000 kilometres (2,500 mi), ran parallel to the sea and was linked with the Camino Real by many smaller routes.