Twenty-nine people have survived after a passenger plane operated by Azerbaijan Airlines burst into flames as it crashed near the city of Aktau in Kazakhstan after veering hundreds of miles off its planned route.

The flight was carrying 62 passengers and five crew members with 38 killed in the crash, according to Kazakhstan’s deputy prime minister, Kanat Bozumbayev.