Hamas officials say Alan Johnston was in the custody of the group's military wing Wednesday.
Alan Johnston's release came in a general prisoner swap after negotiations between Hamas, which seized control of the Gaza Strip last month, and his captors from the Army of Islam.
On Tuesday, Hamas fighters took up positions around a Gaza City stronghold of the Army of Islam where Johnston was believed to be held. One Palestinian civilian was killed in a gunfight between the two groups.
Alan Johnston was the only Western reporter in the Gaza Strip when he was abducted in March.
The Army of Islam, an al-Qaida-inspired group, had threatened to kill him if Britain and other countries did not release certain prisoners, including al-Qaida-linked Islamic cleric Abu Qatada, al Filistini.
Tensions between the Army of Islam and Hamas have mounted since Hamas seized control of the Gaza Strip.
Some information for this report provided by AP and Reuters. - Source: VOA News
BBC Reporter Alan Johnston
I am so glad for Alan Johnston and for his family, friends and for all of the people who prayered and cared for him. These things should not have happened in the first place. Good for Hamas, but I am a little suspicious about the timing of Alan Johnston's release, as Hamas needs more credibility and recognition to come out of the isolation.