In the 1948 Arab–Israeli War, the city was defended by the Iraqi Army, then captured briefly by the forces from Israel's Carmeli Brigade during the "Ten Days' fighting" following the cancellation of the first cease-fire. Prior to the battle, the city's residents fled temporarily. The offensive was actually a feint designed to draw Arab forces away from the critical Battle for Jerusalem, and gains in that sector were quickly abandoned when Arab reinforcements arrived.