Boat passengers, including British tourists, are understood to have been released after being held by a community group in the Peruvian Amazon.
The group, thought to be from an indigenous community, said they had detained them in protest over a lack of government action to tackle oil spills in a river, according to RPP Noticias.
"After dialogue with the APU of the Cuninico communities, our request was accepted to release people who remained in boats held in protest against contamination after #Oil Spill in the Marañón River," the Peruvian Ombudsman's Office tweeted.
Seventy passengers, including people from the UK, US, Spain, France and Switzerland, were being held after travelling in river boats.
Among them was a one-month-old baby, people with disabilities and pregnant women.
Sky News understands that the incident has now been resolved and the British nationals have been put onto another boat.
A spokesperson for the Foreign Office said: "We are providing assistance to a very small number of British nationals in Peru, and are in contact with the Peruvian authorities."
According to reports, the alarm was raised by one of the foreigners on social media.
"The faster they are heard, the faster they will let us go. Help me share, we are physically fine. Help me help them be heard," she wrote on Facebook.
One tourist, Angela Ramirez, told RPP in a phone interview that the group had been fed several times.
Media reports have put the number being held between 70 and as many as 300 people.
The protesters, from Urarinas district in the northern Loreto province, claim two children and a woman have been killed in the area due to oil spills from a 40-year-old pipeline in the Cuninico River.
Community members have told local media they plan to hold the tourists for around six to eight days.
Officials have travelled to the area to deal with the dispute.
The pipeline, which transports crude oil from the Amazon region to the northwestern city of Piura, has been the site of several oil spills in recent years.
Communities in the area have previously already blocked vessels on the river in protest.
The latest oil spill of an estimated 2,500 barrels into the Cuninico River reportedly took place on 16 September.
The 500-mile oil pipeline is owned by Petroperu, a state-owned oil company, which said at the time that the spill had been the result of "intentional" damage.
Local authorities have not yet made any formal statement.