It took more than two years but the 20 remaining living hostages were released.