Israeli authorities on Wednesday re-detained a Palestinian man after an Israeli hospital discharged following a two-month hunger strike to protest his initial detention without charges.

Barzilai hospital said Mohammed Allan's condition had improved enough for him to be discharged. Allan's lawyer Jamil Khatib said that shortly after Allan's release he was detained again by Israeli authorities and immediately resumed his hunger strike. Khatib said the renewed detention was illegal since it did not include a review of the case and that he would appeal to Israel's Supreme Court on Allan's behalf.

Allan ended a 66-day hunger strike last month after Israel's Supreme Court suspended his detention. The prolonged strike put him in serious condition and doctors feared that he had suffered some brain damage as a result of the fast.

Israel accuses the 31-year-old Allan of links to the Islamic Jihad, a Palestinian militant group that has carried out scores of attacks on Israeli civilians and soldiers. Allan denies the affiliation.

Allan's case tested a new Israeli law allowing fasting inmates to be force-fed, a measure that many doctors say amounts to torture. It also cast light on Israel's use of administrative detention — the holding of suspects in special cases for long periods without charge.

Charlie Hebdo takes criticism for cartoon depicting drowned Syrian boy

During his prolonged hunger strike, Allan was not force-fed, which entails inserting a feeding tube into his stomach. He was, however, given intravenous fluids, vitamins and nutrients as his condition deteriorated.

The Supreme Court suspended the detention order and released Allan while he received medical care. It did not specify what would happen to Allan if he recovered, saying only that he could petition for his release if his condition improved. Khatib said that authorities were required to review Allan's case before detaining him again.

The Arab civil rights group Adalah, which petitioned the court on Allan's behalf, said the new arrest was a "random and vindictive act" that had nothing to do with the evidence required to keep him in administrative detention.

Khatib began his fast to protest the policy of administrative detention. Israeli authorities argue the measure is needed to stop militant attacks, adding that revealing the charges would expose intelligence networks and put lives in danger. Rights groups say it violates due process, is meant only for extraordinary cases, and is overused.

Israel's Shin Bet security service had no immediate comment on Allan's renewed detention.