The Presidency in Nigeria has confirmed the release of 82 Chibok girls earlier reported and also gave few words about how the girls' freedom was secured.

In tweets hours after news of the girls' release filtered in, the presidency confirmed that the girls have been freed after three years in captivity.

It said that the girls were release after lengthy negotiations.

"Our security agencies have taken back these girls, in exchange for some Boko Haram suspects held by the authorities.

"The released Chibok Girls are due to arrive in Abuja tomorrow, Sunday, May 7, and will be received by the President" the tweets further read.

President Muhammadu Buhari has also expressed his deep gratitude to all who played a part in ensuring the success of this operation.

"Security agencies, the military, the Government of Switzerland, the International Committee of the Red Cross and local and international Non-governmental Organisations." contributed to the release of the 82 girls.

President Buhari further expressed his commitment to ensuring the safe return of the Chibok Girls and all other Boko Haram captives.

While negotiations for their release were ongoing, President Buhari had received detailed briefings from the Director General of the Department of State Services at every stage of the negotiations and operation, the presidency added.

Over 200 girls were taken from their school's dormitory on April 14, 2014 in the heat of insurgency in the northeast, by members of the Boko Haram sect.

This is the second set of the girls being released on negotiation terms. 

Twenty-one girls were released last year.

President Buhari had in April reiterated his willingness to do whatever was necessary to secure the release of the remaining girls, including swap deals.