The Vía Verde runs along the old Jerez–Almargen railway route.
There are currently 36 kilometres of walkable routes joining the towns of Puerto Serrano and Olvera.
The idea of operating this railway line was first explored in the early 19th. century. Under the auspices of the Provincial Council of Cádiz, the first steps were taken to create a railway that would dynamise the economy of the Sierra region. A preliminary plan proposing a line from Jerez to Setenil with a branch line ending in Grazalema was presented in 1987.
The Society for Research into the Jerez-Villamartín-Setenil Railway was established at the beginning of the 20th. century to develop a complex project. But it was in 1926, during the Primo de Rivera dictatorship, when construction of the Sierra Railway was finally approved.
However, the fall of the dictatorship and subsequent economic decline meant that the works were never completed.