Dima al-Wawi is believed to be the youngest female Palestinian ever imprisoned.
Dima was greeted by about 80 relatives at her family’s house in Halhoul, a village near Hebron, a West Bank city that has been a focal point of violence. Relatives decorated the house with balloons and posters.
Banners by the Islamic militant group Hamas along with the Fatah party of Palestine president Mahmoud Abbas adorned the walls.
“I am happy to be out. Prison is bad,” Dima said.
“During my time in prison I missed my classmates and my friends and family.”
According to court documents provided by the military, Dima approached the West Bank settlement of Carmei Tsur on February 9 with a knife hidden under a shirt.
A security guard ordered her to halt, and a resident instructed her to lie on the ground and told her to give up the knife, which she did.
An amateur video clip shown on Israeli TV showed the resident asking the girl, who was wearing her school uniform, whether she had come to kill Jews, and she said yes.
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.
Her case put Israel’s military justice system in a tough spot because of her age.
Israel captured the West Bank from Jordan in the 1967 Middle East war, and Palestinian residents there are subject to a system of military law that can sentence suspects as young as 12 to prison.
By contrast, Israeli settlers in the West Bank, as well as Jewish and Arab citizens of Israel, are subject to Israeli civil law, which does not allow anyone under 14 to go to jail.
The incident came amid seven months of violence in which Palestinians have killed 28 Israelis and two Americans in stabbings, shootings, and car-ramming attacks.
At least 190 Palestinians have died from Israeli fire.