The Israeli military said Thursday that five soldiers were killed and seven injured in a friendly fire incident in northern Gaza, amid renewed battles in the area against regrouped Hamas militants.

“An initial investigation into the deaths of five IDF soldiers reveals that IDF tanks, located dozens of meters away, identified a weapon and fired shells at an IDF force nearby,” the IDF said in a statement.

“This force had entered the northern part of Gaza and occupied buildings along a logistic route. The tanks fired two shells for unclear reasons, resulting in seven more soldiers being injured, three severely.”