 Shalit was captured near the Kerem Shalom crossing in Israel, and held by Hamas as a hostage at an unknown location in the Gaza Strip.Hamas' initial demands of releasing of all female and underage Palestinians as well as Marwan Barghouti were not met.On 18 October 2011, he was released in a deal that secured his freedom after more than five years in isolation and captivity, in exchange for 1,027 Palestinian prisoners, including some convicted of multiple murders and carrying out attacks against Israeli civilians (according to Israeli government sources, the prisoners released were collectively responsible for 569 Israeli deaths).