West Bank - The IDF on Tuesday released footage of a dramatic rescue operation to extract two Oketz K-9 unit soldiers who accidentally strayed into the Palestinian Kalandiya neighborhood north of Jerusalem on Monday night, and found themselves in the midst of a massive riot, which later turned into a gun battle between Palestinian gunmen and security forces.

The incident came during a period of heightened tensions in which Palestinian stabbings, shootings and car rammings have killed 28 Israelis and a U.S. citizen since October.

A military spokeswoman said the soldiers’ vehicle inadvertently entered Qalandia where they and later their rescuers came under a hail of rocks and petrol bombs.

Defense Minister Moshe Yaalon said the two soldiers got into trouble because they had relied on satellite navigation on their mobile phone.

“I have always said that if even if you use a navigation program, you still need to know how to navigate with a map,” Yaalon said in a speech near Tel Aviv.

They fled after their jeep caught fire, with one escaping to a nearby Jewish settlement and the other taking cover in the yard of a Palestinian family for about an hour before he was rescued by the Israeli troops amid heavy clashes. The military said it went into emergency mode because of concerns that one of the soldiers had been abducted.

The Qalandia camp lies north of Jerusalem and on the outskirts of Ramallah, the Palestinian seat of government. It is a point of frequent violence between Palestinian protesters and Israeli troops.