Israel's prison service says a 12-year-old Palestinian girl, imprisoned after she confessed to planning a stabbing attack in a West Bank settlement, has been freed.
Spokesman Assaf Librati said the girl was released on Sunday and was going to her home in a village near Hebron in the West Bank.
She is believed to be the youngest female Palestinian ever imprisoned.
Her case put Israel's military justice system in a tough spot.
It came amid seven months of near-daily Palestinian attacks against Israeli civilians and soldiers.
According to court documents, the girl was caught with a knife as she approached an Israeli settlement in February.
She later pleaded guilty to attempted manslaughter in a plea bargain and was sentenced to four and a half months in prison.
She was freed early after an appeal.