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.

Thailand and Cambodia agree to 'consolidate ceasefire' in China talks
Three Turkish police, six ISIS members killed in clash
Indonesia fire kills 16 people in retirement home
Trump says US and Ukraine 'a lot closer' on peace deal but 'thorny issues' remain
China launches war games around Taiwan as island vows to defend democracy
At least 13 dead, 98 injured in Mexico train derailment
South Korean president vows to reveal truth on anniversary of Jeju Air crash
Trump, Netanyahu to discuss next phase of Gaza plan
