Behind Israel-Hamas prisoner deal

Israel plans to free more than 1,000 Palestinian prisoners, including hundreds serving life sentences for attacks on Israelis, in exchange for Israeli soldier Gilad Shalit who was captured by Hamas in 2006. How and why has the controversial deal come about?