A Palestinian from the Gaza Strip died on Sunday after the Israeli navy fired on the boat he and two others were sailing in, a military spokeswoman said.

The navy opened fire after the boat ignored warnings and strayed from a permitted fishing area in the northern Gaza Strip towards Israel, the spokeswoman said. One of the men in the boat was seriously wounded and later died.

But the Gaza fishermen’s union said the boat was targeted as it was making its way back to Gaza, and Nizar Ayyash, the secretary of the Gaza fishermen’s syndicate, said in a statement that the men did not violate the maritime limit.