A Hamas UAV that took off from Gaza Tuesday was intercepted by an Israeli Air Force aircraft just off the coast of Gaza, the Israeli military said.

The UAV (Unmanned Aerial Vehicle), also known as a drone, was under surveillance by the Israeli Air Force from the moment it took off from Gaza, the IDF said.

The Israeli military said that the decision to shoot the drone down was reached after it was seen approaching Israeli airspace.

An F-16 fighter plane was dispatched to intercept the drone and completed the mission by firing a missile at it, the army said.

“The IDF will not allow any violation of [Israeli] airspace and will act decisively against any such attempt,” the military statement said.