RAFAH, Gaza Strip — The youngest to die was a 4-day-old girl, the oldest a 92-year-old man.

They were among at least 844 Palestinians killed as a result of airstrikes on Gaza homes during Israel’s summer war with the Islamic militant group, Hamas.

Under the rules of war, homes are protected civilian sites unless used for military purposes. Israel says it attacked only legitimate targets, alleging militants used the houses to hide weapons, fighters and command centers. Palestinians say Israel’s warplanes often struck without regard for civilians.

The Associated Press examined 247 airstrikes, interviewing witnesses, visiting attack sites and compiling a detailed casualty count.

The review found that 508 of the dead – just over 60 percent – were children, women and older men, all presumed to be civilians. Hamas says it did not use women as fighters in the war, and an Israel-based research group, the Meir Amit Intelligence and Terrorism Information Center, which tracks militants among the war dead, said it has no evidence women participated in combat.

In addition:

 Children younger than 16 made up one-third of the total: 280 killed, including 19 babies and 108 preschoolers between the ages of 1 and 5.

 Among those killed were 96 confirmed or suspected militants – just over 11 percent of the total – though the actual number could be higher since armed groups have not released detailed casualty lists.

 The remaining 240 dead were males between the ages of 16 and 59 whose names did not appear in AP searches of militant websites or on street posters honoring fighters.

The review was the most painstaking attempt to date to try to determine who was killed in strikes on homes