Among the nearly 2,000 freed Palestinians are around 1,700 detainees from Gaza who Israeli troops seized during the war and held without charge.

Israeli forces detained thousands of Palestinians in raids on shelters and hospitals and at checkpoints.

Also among those released were 250 Palestinians sentenced to prison terms, most of them convicted for deadly attacks on Israelis dating back decades as well as others convicted on lesser charges, according to Israel’s Justice Ministry.

Of those, Israel exiled 154, sending them to Egypt, where officials said they will be sent to third countries.