According to a preliminary report, there were no injuries and no damage to civilian infrastructure, Magyar said.

Defense Minister Romulusz Ruszin-Szendi said in a Facebook video that the pilot was alive. “He did everything in his power to ensure that the aircraft crashed in army territory,” he added.

Ruszin-Szendi said an investigation into the crash was underway and that he and the chief of the general staff were heading to the scene to provide accurate information about the incident.

The National Ambulance Service said on Facebook that the pilot was in stable condition and was being transported to a hospital by helicopter for observation.

The aircraft took off from Kecskemét and crashed on the premises of the MH Kiss József 86th Helicopter Brigade in Szolnok, Mihály Győrfi, mayor of Szolnok, told reporters at the scene.

Footage published by the Szolnok Hangja news portal showed smoke billowing from the airbase area.

The last accident involving a Hungarian Gripen fighter aircraft occurred on June 10, 2015, at Kecskemét military airbase, when a pilot was unable to retract the nose gear after takeoff. After running out of fuel, the pilot attempted a belly landing, but the aircraft became uncontrollable, forcing him to eject. He suffered injuries that required more than a week to recover from.