Jerusalem (CNN) -- An American teenager whose family says he was beaten by Israeli security forces will be kept under house arrest while an investigation into his case continues, his lawyer told CNN on Sunday.
Tariq Khdeir, 15, told reporters Sunday he remembers little of the incident.
"I was attacked by police. I woke up in the hospital," he said as he walked out of court in Jerusalem on Sunday.
The teen, a U.S. citizen and high school sophomore from Tampa, Florida, paid bail and was driven away with his parents to serve his house arrest in the Beit Hanina neighborhood.
"I remember standing and watching the group of people. They (his attackers) came from the side of me and I tried to run away," he said, adding that he felt much better Sunday.
Previous story:Tampa teen beaten, jailed in Jerusalem
He will be kept under house detention for nine days, lawyer Ziad Haidimi said after a court session.
It's unclear why the teen is being investigated or what possible charges he might face.
If the investigation ends without charges, he can travel back to the United States, Haidimi said. His mother, Suha Abu Khdeir, said the family "definitely" will sue Israeli authorities.
"I'm not really happy" with the court's decision, she said.
Tariq was visiting his Palestinian relatives in Jerusalem when he was detained on Thursday.
His relatives say he is the young man who appears in two separate videos being held down and beaten by men wearing the uniform of Israeli security forces.
Tariq is a cousin of Mohammed Abu Khedair, the Palestinian teenager who was abducted and killed in Jerusalem on Wednesday.
Abu Khedair's death sparked unrest in Jerusalem, setting off several days of clashes between Palestinians and Israeli security forces. Tensions in the region had already spiked after three Israeli teens were found dead in the West Bank earlier in the week.
According to his family, Tariq was among the Palestinians protesting in the Shuafat neighborhood over his cousin's killing. But he wasn't involved in the clashes, they say.
"I asked my son, 'Did you throw rocks?' He said no," Tariq's father, Salah Eddeine Abu Khdeir, told CNN.
The two videos, which were posted independently, say the beating occurred on Thursday.
One neighbor shot a video of the beating and distributed it to family and a TV station. Another video was shot from the other side of the street and posted to YouTube.
Relatives watched the video and told CNN that the teen is Tariq Khdeir. Relatives released pictures of the bruised teenager with swelling on his lips and nose.
The men delivered more than 20 blows to the youth over a period of two minutes. He did not appear to be struggling, and police carried away his limp body afterward.
Both videos start after the incident began, and it's not clear why Khdeir was attacked.
In a statement, the Justice Ministry said the government's legal adviser will investigate the videotaped beating.
Israeli Justice Minister Tzipi Livni is quoted in the statement as saying the images "show a very serious incident by uniformed personnel, while this is not the Israeli's law enforcement policy -- yet sadly, they are the ones headlining worldwide news."
Palestinians have long complained of rough treatment by the Israeli police and double standards when it comes to justice, said Bill van Esveld of Human Rights Watch.
"The concern is that we've got plenty of evidence that this child of 15 was brutally beaten by Israeli law enforcement," van Esveld told CNN. "And instead of the law enforcement officials responsible for the beating being questioned and detained, the child who is the victim is being questioned and detained."
U.S. State Department spokeswoman Jen Psaki called the reports "troubling" and called for a "speedy, transparent and credible investigation and full accountability for any excessive use of force."
- Israel targets Hamas over kidnapped teens
- Pope kicks off Mideast peace summit of prayer
- Israel rejects negotiations with Palestinians