A NATO spokesman says the pilot ejected from the aircraft and was taken to a medical facility .