The Airbus A321 took off from Istanbul and attempted three landings at Tunis Carthage International Airport before turning to Enfidha-Hammamet Airport