Answer
Shalit was captured at the Israeli border by the Palestinian militant group Hamas. Shalit was a soldier in the Israel Defense Forces, and was captured during a cross-border raid by Hamas. He was held captive by Hamas for over five years, and was released in a prisoner exchange in 2011.