Updated

The Latest on the sentencing of Palestinian teenage protester Ahed Tamimi (all times local):

8:50 p.m.

An Israeli military court has sentenced Palestinian teenage protest icon Ahed Tamimi to eight months in prison for slapping and kicking two soldiers after a plea bargain was reached.

Her lawyer, Gaby Lasky, said Wednesday that Tamimi is also being fined 5,000 shekels (about $1,400) .

The 17-year-old Tamimi told reporters in court there is "no justice under occupation and we are in an illegal court."

She was arrested in December after video surfaced of her accosting soldiers outside her West Bank home.

Tamimi's family says she was upset because a 15-year-old cousin had earlier been seriously wounded in clashes with Israeli troops.

Palestinians have embraced her as a symbol of a new generation fighting Israel.

In Israel she is seen either as alternatively a naive manipulated youth or a threat to the country's military deterrence.

___

5:50 p.m.

The lawyer for Palestinian teenage protest leader Ahed Tamimi says she has reached a plea bargain with Israeli military prosecutors that will have her client serve eight months in prison for slapping and kicking a pair of Israeli soldiers.

Gaby Lasky says Wednesday's deal, which still needs to be approved by the military judge presiding over the case, would allow Tamimi to go home this summer.

Tamimi was arrested last December after video surfaced of her kicking the soldiers outside her West Bank home. She faces assault and incitement charges that could potentially leave her behind bars for years.

Lasky said the judge must also rule on a similar plea deal for Tamimi's mother Nariman, who has been charged with incitement.

The case has made Ahed Tamimi a Palestinian hero.