GAZA CITY, Gaza Strip (AP) — The Israeli military says it has carried out airstrikes against two Hamas positions in Gaza in response to a rocket fired toward Israel.

Ayman Sahbani, an emergency director at Gaza's Shifa hospital, says three Palestinians were wounded in Wednesday's strike, one seriously.

Israel has seen occasional rocket fire from the Gaza Strip in the three years since its last war with Gaza's militant Hamas rulers. Most have been claimed by Salafist groups in the territory.

Israel holds Hamas responsible for all fire out of the strip — even rockets launched by any of the various militant groups challenging it.

Israel and Hamas have fought three wars since the Islamic militant group took control of Gaza a decade ago, most recently in 2014. A cease-fire has largely held since then.