The plane was flying at 35,000ft when it issued an emergency ‘squawk 7700’ code and made an emergency landing