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.

US judge lets more Epstein grand jury materials be made public
At least 22 killed in collapse of two buildings in Morocco's old city of Fez
Zelenskyy says he's open to elections if US ensures security
Putin meets Indonesia's Prabowo to discuss military and energy ties, wheat exports
Air India urges overhaul in compliance culture after flying Airbus without permit
