Manu Brabo, a Spanish photographer who had been detained with several GlobalPost journalists, was released by Libyan authorities and crossed the border into Tunisia with Spanish officials earlier today.
Forces loyal to Libyan dictator Muammar Gaddafi first captured Brabo and three others on April 5.
Brabo had languished in a series of detention centers in Tripoli for weeks, during which time the Libyan government allowed them little to no communication with the outside.
Covering the Libyan conflict has proved dangerous for journalists.
A number of Libyan journalists are missing and several other foreign journalists remain in custody, Human Rights Watch said.
Several journalists have also been killed while covering the fighting, including British photojournalist and filmmaker Tim Hetherington [no relation] and American photographer Chris Hondros. The two were killed in April during clashes between rebels and government forces in the Libyan city of Misurata.