Venezuela has freed opposition lawmaker Gilber Caro, ahead of a visit by UN High Commissioner for Human Rights Michelle Bachelet.
Caro was detained in April in what critics said was a violation of his parliamentary immunity.
"The parliamentarian Gilber Caro should never have been jailed," the National Assembly said. "Today he comes out from behind bars, but just like all Venezuelans, he still is not free."
Apart from an economic crisis, Venezuela is a political standoff between President Nicolas Maduro's government and National Assembly leader Juan Guaido.

Peace deal hopes fade after Trump rejects 'garbage' Iran proposal
Planes with hantavirus cruise passengers land in Netherlands; hospital quarantines 12
Brazilian flotilla activist returns home, alleges torture during Israel detention
India's Modi to begin five-nation tour, including UAE
UK's Starmer facing crunch meeting as calls grow for him to quit
Malaysia searches for 14 missing after migrant boat capsizes
Trump says Iran ceasefire 'on life support' after he rejects Tehran's response
Hospitals evacuated, MSF services halted as rival gangs clash in Haiti's capital
