Recent heavy rains in the Bolivian Amazon have helped put out forest fires that have raged for two months across the landlocked South American nation, charring more than four million hectares of land, the local authorities said on Monday.

The storms helped Bolivia’s military contain blazes in the Chiquitania region, home to large areas of dry forests and Indigenous communities that have lived in them for centuries.

“Satellite images no longer detect burning or reactivated fires,” said Cinthia Asin, an official for environmental issues for the provincial government of Santa Cruz, a farming province in eastern Bolivia hard hit by the fires.

Indigenous groups have marched through the province. In the capital, on Friday, hundreds of thousands of people protested against what they said had been a slow response by the national government to the fires.