An Israeli strike on a school in northern Gaza on Saturday killed at least 22 people, according to the Gaza Health Ministry, while the Israeli army said that it targeted a Hamas command center in what used to be a school.

Another 30 were wounded in the strike on the school in the Zeitoun area of Gaza City, the ministry said in a statement. Most of the casualties were women and children, it said. It wasn’t immediately clear which hospital the dead and injured were taken to.

Dozens of people including children dug through the rubble of the building — its ceilings caved in, walls knocked out and a mess of wires and metal rods visible. Outside, others gathered around shrouded bodies. Some covered their faces as they wept for relatives killed in the strike.