A Russian warplane crashed Monday into a residential area in a Russian city on the Sea of Azov after suffering engine failure, killing at least two people and igniting a massive blaze that engulfed several floors of a nine-story apartment building.

A Su-34 bomber came down in the port city of Yeysk after one of its engines caught fire during takeoff for a training mission, the Russian Defense Ministry said. It said both crew members had bailed out safely, but the plane crashed into a residential area, causing a fire as tons of fuel exploded on impact.

Also read: Russia military range shooting leaves 11 dead, 15 injured

Local emergency officials said at least two residents were killed and 19 others were hospitalized with injuries, four of them in grave condition. The authorities reserved emergency rooms at local hospitals and scrambled medical aircraft. At least 17 apartments were affected by the fire, and about 100 residents were evacuated.

The Kremlin said Russian President Vladimir Putin was informed about the crash and ordered the ministers of health and emergencies along with the local governor to head to the site. Yeysk, a city of 90,000, is home to a big Russian air base.

Also read: Elon Musk on Starlink: We’ll just keep funding Ukraine government for free

Several hours after the crash, regional Gov. Veniamin Kondratyev said that emergency services managed to contain the fire, making the evacuation of residents in adjacent buildings unnecessary.

Videos posted on Russian messaging app channels showed a massive fire engulfing an apartment building and loud bangs from apparent detonation of the warplane’s weapons.

Also read: Why has Decathlon reversed its name to Nolhtaced in Belgium?

The Su-34 is a supersonic twin-engine bomber equipped with sophisticated sensors and weapons that has been a key strike component of the Russian air force. The aircraft has seen wide use during the war in Syria and the fighting in Ukraine.

Monday’s accident marked the 10th reported non-combat crash of a Russian warplane since Moscow sent its troops into Ukraine.