Israel's Supreme Court on Wednesday suspended the detention of a Palestinian prisoner who has suffered brain damage after his 65-day hunger strike. 

Mohammad Allan, an alleged member of the militant group Islamic Jihad, has been on a hunger strike since June against his indefinite detention without charge or trial under Israel's controversial administrative detention law, reported VOA News. He denies the allegations and any connection with the terror group.

"Due to the petitioner's medical condition he will remain in intensive care. This means that for now, owing to the hunger striker's medical condition, the administrative detention order is no longer operative," the Israeli court said, according to BBC News.

The 31-year-old Palestinian lawyer immediately ended his hunger strike after the court order. "The story is over, administrative detention is cancelled and therefore there is no strike," Allan's lawyer Jameel Khatib told Reuters.

Doctors at Barzilai hospital said that he remains in critical condition and is not able to connect with his surroundings.

Dr. Hezy Levy of Barzilai hospital, however, sounded possibility that Allan might be able to recover. "Damage in his brain is probably caused by a lack of vitamins. I hope that it is reversible. I cannot predict right now to what extent it is reversible," said Dr Levy, Sky News reported.

Allan's family and friends hailed his release as a victory. "I feel very happy. I hope that my brother... will rise from his bed in healthy condition, as happy as he used to be when they took him from his house," his brother Amid Allan said, according to Press TV.