The Israeli military has decided to release a young conscript who has spent the past six months in military prison for refusing to serve in the army due to his opposition to the occupation of the West Bank.

In a statement, it says a committee decided Wednesday that Natan Blanc was unfit for service. It cited his "inability to adapt to military structure."

Military service is compulsory for Jewish Israeli males. Blanc, 20, has been sentenced to 10 consecutive jail terms since November.

The military said Thursday that Blanc will be released next week, when his current sentence ends.

Blanc's family says they're "happy this matter is resolved."

The Israeli advocacy group Yesh Gvul, which has assisted Blanc, says he will seek to do civilian national service after his release.