San Juan, Argentina, the capital of San Juan province. It lies in the foothills of the Andes, about 620 miles (1,000 km) northwest of Buenos Aires.