IDF Staff-Sergeant Gilad Shalit officially completed his compulsory army service Wednesday. The Defense Ministry will be in charge of the soldier’s ongoing rehabilitation following his five-year captivity in the Gaza Strip.

After his release, Shalit underwent surgery to remove shrapnel from his hand after his release by Hamas. He sustained the injuries during the 2006 cross-border raid during which he was kidnapped and smuggled to Gaza. Shalit did not receive humanitarian visits from the International Red Cross during his captivity.

IDF personnel went to Shalit’s home Tuesday to have him sign a number of documents to formalize the discharge, Walla News reported.

Shalit was made a non-commissioned officer after being freed in October 2011. Israel released 1,027 Palestinian prisoners as part of his prisoner exchange deal.