With their alpine grasslands shrinking due to erratic rainfall and glacier retreat, herders in Peru's central Andes have decided that the future lies in reviving the past.

To improve access to water and save their livestock, indigenous communities in the villages of Canchayllo and Miraflores have restored abandoned dams, reservoirs, and canals that date back over 3,000 years.

Two years on from completion of the project – supported by The Mountain Institute (TMI), a US-based nonprofit – there are more and better quality pastures for sheep, cattle, and alpaca to graze, and milk, meat, and crop yields have risen.

The project's success, benefiting 9,600 people in the Nor Yauyos Cochas Landscape Reserve, has raised hopes for thousands of highland communities in Peru and elsewhere who are facing similar climate pressures, said Florencia Zapata of TMI, which works with mountain communities.

It could also have far-reaching impacts along the desert coast, home to almost 70 percent of the population, which receives less than 2 percent of Peru's available water.

"Water that most of the population depends on comes mainly from the mountains. So, we need to take care of [that water]," Ms. Zapata, who oversaw the project, told the Thomson Reuters Foundation in a phone interview.

The western ranges of the "brown" Andes – with a marked dry season – are dotted with remains of ancient infrastructures dedicated to managing water, said Jorge Recharte, director of TMI's Andes program.

The ranges extend to Bolivia, Chile, and Argentina and while some water structures are still in use, knowledge and understanding of them had started to vanish as populations dwindled due to migration to the cities, Mr. Recharte said.

Peru's glaciers are a source of fresh water for millions of people but they have diminished by 40 percent since the 1970s, government figures showed.

The South American country is home to 70 percent of the world's tropical glaciers, which are "especially sensitive to warming temperatures," the United Nations warned.

Fears over the melting of an Andean glacier has even led to an intercontinental lawsuit that environmentalists are watching closely.

"As glacier retreat progresses and climate change kicks in ... new lands are becoming available for agriculture in the Andes," said Alexander Herrera, an archaeologist and associate professor at Colombia's Universidad de los Andes.

"Learning from the past is absolutely crucial for sustainable, low-risk, productive agriculture [of the kind] the Andes have had for thousands of years," said Mr. Herrera, who was involved in the Canchayllo and Miraflores projects.

Peru has a long history of embarking on engineering feats to manage the flow of water for agriculture.

The Incas and the civilizations before them built terraces, cisterns, and canals while modern government projects include the $500-million Olmos and the stalled Chavimochic III irrigation projects.

It was at one of the first meetings TMI organized in 2013 that locals raised the possibility of rehabilitating the neglected pre-Inca hydraulic structures.

Designed to slow the movement of water through grasses and soils, they replenished aquifers and springs and helped the grasslands retain more water, allowing biodiversity to flourish.

This way, the ecosystem acted as a buffer against flooding and drought and provided fodder for their animals, who in turn produce cheese and, importantly, manure, used to cultivate "thousands of native potato, corn, tuber, and grain varieties," Zapata said.

The restoration and adaptation of ancient terraces and canals for modern use has been pioneered by British archaeologist Ann Kendall since the late 1970s.

But other attempts by Andean governments and aid groups in the 1980s to revive these technologies for development failed because the focus was more on techniques and less on the needs of the locals, said archaeologist Herrera.

In Canchayllo and Miraflores, the restoration has combined ancient and modern technologies to meet the demands of herders, after months of consultation.

The restored systems incorporate "gray" infrastructure such as PVC pipes, water valves, and fences and "green" elements such as restoration of grasslands and wetlands.

The restoration minimized the need for regular maintenance work since labor is in short supply, with the young and able moving to cities for better jobs.

"It is not enough to just improve their infrastructure or water availability. If people are not organized to manage the infrastructure, it will collapse sooner or later," Zapata said.

Julio Postigo, a Peruvian expert on pastoralism in high altitudes, said poor, marginalized communities needed support from government to revive the ancient structures – just as families were supported centuries ago.

"We tend to forget, when we romanticize these Inca or pre-Inca or ancient responses, that they were never taken by individual families," said Mr. Postigo, a senior research scientist at the University of Chicago's National Opinion Research Center.

"You're talking about an empire that decided that that infrastructure was going to be built."

TMI said it was looking to train and work with the Peruvian government and other organizations to replicate the success of projects in central Peru.

But reviving ancient water systems must be part of a wider plan to help communities cope with climate change, said Postigo.

"The people most vulnerable to climate change effects are those who are poorer, less educated, more marginal, indigenous," he said in a phone interview.

Get the Monitor Stories you care about delivered to your inbox. By signing up, you agree to our Privacy Policy

"We should fight poverty and improve living conditions. In doing so, those populations will be on a better foot to respond to climate change."

This story was reported by the Thomson Reuters Foundation.