JERUSALEM: An Israeli woman convicted of spying and leaking classified military documents to the media walked free on Sunday after serving 26 months of a four-and-a-half year prison sentence.

Commercial TV station Channel 2 showed former soldier Anat Kam leaving Neve Tirza women’s prison in Ramle near Tel Aviv wearing jeans and a dark sweater.

“I’m going home, goodbye,” she called to waiting reporters as she climbed into a waiting car.

Kam was convicted in October 2011 after pleading guilty to leaking documents used by Haaretz newspaper in a 2008 article which said troops were ordered to carry out targeted killings of Palestinian militants in violation of a supreme court order. She has said her actions were ideologically motivated and that she wanted to expose the army’s policies in the occupied Palestinian territories.