Details of the Gilad Schalit prisoner exchange deal passed by the cabinet emerged Tuesday night.A total of 1,027 Palestinian prisoners will be released in the deal, in two stages.RELATED:Hamas's Mashaal: Prisoner deal is 'national achievement'Barak: We've taken a great step in bringing Gilad homeIn the first stage, 450 prisoners will be released, 280 of whom are serving life sentences. Of those, Israel agreed to release 96 prisoners to the West Bank and 14 to east Jerusalem. Another 203 from the West Bank will be deported to Gaza and 40 will be sent abroad. Further, 131 prisoners from Gaza will be released back to Gaza. Of the 110 prisoners being released to the West Bank and east Jerusalem, half will have limited freedom of movement. Some will not be able to travel abroad, or leave their home cities. Only 55 of those 110 prisoners are Hamas operatives. Six Israeli Arabs will be released to their homes.27 female prisoners will be released as a part of the deal.Schalit will then be sent to Israel, and another 550 prisoners – including women and minors – will be released.Jailed terrorists Marwan Barghouti, Abdullah Barghouti, Ibrahim Hamed and Ahmed Sa'adat will not be released as part of the deal.A full list of the prisoners set to be released in the deal will be released to the public 48 hours before the exchange takes place.