The Nicaraguan government has released 30 people who were detained during anti-government protests on Sunday.
Their arrests gave rise to criticism from human rights groups and the Organization of American States (OAS) regional body.
The leader of a group critical of President Daniel Ortega said it was clear that no evidence had been found against those detained.
Police had argued that the protesters had not sought permission to march. They confronted the demonstrators on Sunday and fired stun grenades.
Anti-government protests were declared illegal by President Ortega on 28 September following five months of often violent clashes during which hundreds of people were killed.
The protesters detained on Sunday had defied the ban and gathered in the capital, Managua, under the motto “United for Liberty”.
They were confronted by riot police and 38 of them were arrested. All 38 have since been released but hundreds detained in other protests still remain behind bars, human rights groups say.
Some of those leaving El Chipote maximum security jail raised their fists in a show of defiance and shouted: “Long live free Nicaragua!”.
Their relatives had gathered at the offices of local human rights groups to call for their speedy release. Their call was backed up by the head of the OAS, Luis Almagro, and the president of neighbouring Costa Rica, Carlos Alvarado.
The Nicaraguan government did not comment directly on the release of those detained but in a speech broadcast on Monday, Vice-President Rosario Murillo said that “all Nicaraguans want peace”. (BBC)