JERUSALEM — Israeli soldiers killed a young Palestinian man early Tuesday during a confrontation in the Jenin refugee camp in the northern West Bank, as troops arriving to arrest an Islamic Jihad member suspected of planning terrorist attacks were greeted by violent protesters, Israeli officials said.

Lt. Col. Peter Lerner, a spokesman for the Israel Defense Forces, said that when about 50 soldiers and border police officers entered the camp at 3 a.m., they faced gunshots as well as rocks, firecrackers and explosive devices.

The Maan news agency identified the dead Palestinian as Majd Mohammad Anis Lahlouh, 22. Two other Palestinians were injured, along with two soldiers, Colonel Lerner said.

“A very violent riot erupted there,” the company commander, identified only as Shai under military rules, said in a video of the episode that was distributed by the Israel Defense Forces. “We were faced with armed Palestinians, who shot at us from behind covers and rooftops. We responded with live fire.”