The A-397 runs about 50 km from Ronda down through the Serranía de Ronda to San Pedro de Alcántara on the Costa del Sol. It took decades to build, with Ronda finally linked to the coast by the end of 1939, and it was widened and straightened between 1976 and 1980. The top, at over 1,000 metres, has a rusted iron sculpture of the poet Rainer Maria Rilke, who stayed in Ronda in 1913.

