Israel and the Lebanese militant group Hezbollah fought a 34-day war in 2006 , which killed 1,200 Lebanese and nearly 160 Israelis .