The copilot who tried to hijack a flight bound for Israel on Wednesday used a crash ax located in the cockpit to attack the plane’s captain, officials from the United Arab Emirates said Saturday.

Attorney General Hamad Saif Al Shamsi described the attack on the pilot as an attempt to “take control of the aircraft” and carry out a “terrorist act,” according to a statement published by the official Emirates News Agency.