Air traffic control audio captured during the incident indicates the crew declared an emergency as the situation unfolded.