An Israeli military court has extended the detention of a Palestinian teen who has become a national hero after she was filmed kicking and slapping Israeli soldiers.

Ahed Tamimi, a blonde 17-year-old firebrand from the West Bank village of Nebi Saleh, was arrested last week by Israeli troops and faces charges of attacking soldiers. An Israeli military court on Monday (25 December) extended Tamimi's detention, along with those of her mother and cousin, for four days for questioning.

Tamimi was filmed earlier this month outside her family home shouting, pushing, kicking and slapping Israeli soldiers, who fended off the blows without retaliating. Palestinians are celebrating her as an icon of a new generation of resistance to Israeli occupation, while the soldiers' restraint stirred uproar over what some perceive as the army's humiliation.

The video shows Ahed Tamimi and a young woman walking toward the two soldiers. Tamimi tells the soldiers to leave. She pushes and kicks them, and then slaps one of them.

The young woman films the scene on her mobile phone. An older woman joins, at one point stepping between Ahed and the soldiers, but then also tries to push back the soldiers who don't respond.

Nebi Saleh is a village of about 600 people, most of them members of Tamimi's extended family. For eight years, villagers along with Israeli and foreign activists have protested weekly against Israeli policies in the West Bank.

The Israeli military said Friday's ( 15 December) protest turned violent, with about 200 Palestinians throwing stones at soldiers. Several people entered a local house, with the consent of the owners, and continued to throw stones, the army said.

Soldiers entered the house, removed the stone-throwers and stayed at the entrance to prevent others from entering, it said. At that point, several Palestinians emerged from the house and began to "violently provoke the soldiers," the army said.

Ahed Tamimi
Ahed Tamimi (2nd-R), a prominent 17-year-old Palestinian campaigner against Israel's occupation, appears at a military court at the Israeli-run Ofer prison in the West Bank village of Betunia on December 25, 2017. Israel's army arrested Tamimi on December 19, 2017, after a video went viral of her slapping Israeli soldiers in the occupied West Bank as they remained impassive. AHMAD GHARABLI/AFP/Getty Images)

Bassem Tamimi, Ahed's father, said that minutes earlier, soldiers had fired a rubber bullet from close range at 15-year-old Mohammed Tamimi, a cousin of Ahed and a frequent guest in the Tamimi home. Rubber-coated bullets are commonly used to disperse crowds. While considered nonlethal, they nonetheless can be dangerous.

The teen remained in intensive care Wednesday after surgeons removed the bullet that had entered from his mouth and lodged in his brain, said officials at Ramallah's Istishari Hospital. The patient was alert after extensive surgery and would likely recover, they said.

Bassem Tamimi said his daughter was upset about the shooting when she approached the soldiers. The army confirmed using rubber bullets to disperse what it called a violent demonstration but said it had no information on the boy who was shot.

In an interview on Wednesday, Bassem Tamimi praised his daughter as courageous, scoffing at criticism that she was an attention-seeking provocateur.

"We hope that this generation will be stronger than us, and can take the flag from us with more power ... and more serious resistance to end the occupation," said Tamimi, 50, who spent more than four years in nine different stints in Israeli jails for anti-occupation protests.

On social media, Palestinians celebrated Ahed as a hero in widely distributed cartoons. In one, she is shown in a Joan of Arc-like pose, raising a Palestinian flag, framed by her easily recognizable mane of blonde curls.

Ahed has made headlines in the past, including in 2015 when she bit the hand of a masked Israeli soldier who was holding her now 14-year-old brother Mohammed in a chokehold during an attempted arrest. A video of the incident that was widely watched, earning her an invitation to meet with the Turkish president.

In Israel, the military said the company commander involved in Friday's incident "acted in a professional and restrained manner."

Others were sharply critical of the soldiers.

"When I watched that, I felt humiliated, I felt crushed," said Miri Regev, an Israeli Cabinet minister and former military spokeswoman. She called the incident "damaging to the honor of the military and the state of Israel."

Palestinians and international rights groups have longed alleged that Israeli troops frequently use excessive force against Palestinians.

Ben Caspit, a journalist for the Maariv daily, praised the soldiers for not reacting, but called for retaliation against the Tamimi family.

"In the case of the girls, we should exact a price at some other opportunity, in the dark, without witnesses and cameras," he wrote.

Others said the soldiers were placed in a difficult situation since a video showing them hitting or arresting a teen-age girl could potentially have invited more international criticism.

The sharply conflicting Palestinian and Israeli interpretations of the widely viewed video clip highlight the deep rift between the two societies, at a time of heightened tension over the status of contested Jerusalem, the centerpiece of the long-running conflict.

Earlier this month, US President Donald Trump recognised Jerusalem as Israel's capital, setting off widespread protests by Palestinians who seek the city's Israeli-annexed eastern sector as a capital.

Trump has said his statement did not define the boundaries of Israeli sovereignty in Jerusalem, but his move was seen by Palestinians as a sign of pro-Israel bias. In response, Palestinian President Mahmoud Abbas has said the US can no longer be a Mideast mediator.

The detention of Tamimi also highlighted the issue of arrests of Palestinian minors.

Defense for Children International-Palestine, a local group, said 331 Palestinians under the age of 18 were held in military detention as of May, according to the most recent statistics released by Israeli authorities. It said that in 2016, an average of 375 minors were in detention each month.

The Israeli military was unable to provide data on the number of minors it is holding.

It said, however, that "unfortunately, in recent years, many minors, sometimes very young, have been involved in violent incidents, incitement and even terrorism. In such cases, there is no choice but to take steps, including arrest, interrogation and prosecution." It said the military does everything possible to "ensure that the rights of the minors are respected."