Several passengers on a Spirit Airlines flight from New York to Florida had to be examined by a medical crew after an emergency landing Thursday night.

The flight, heading from LaGuardia to Fort Lauderdale, was diverted to Myrtle Beach International Airport for a potential hazmat situation after an unusual odor was detected “in a section of the aircraft,” the airline confirmed.

FLIGHT ATTENDANTS' 'GUT FEELING' ABOUT PASSENGERS SPARKS HUMAN TRAFFICKING INVESTIGATION: REPORTS

Several of the 220 people aboard flight 779 had to be treated for symptoms ranging from headaches, nausea and difficulty breathing, Myrtle Beach Online reports.

“Reports are we have several occupants on a plane exposed to an unknown substance,” Myrtle Beach Fire Rescue members had said over the radio, according to NBC New York. “They have deplaned and are currently on the ramp. We have isolated and are attempting to get in contact with the airport fire.”

The emergency crews responded to the scene when the plane landed, though they did not find any hazardous substances on the aircraft. Some passengers described the smell as "dirty socks," NBC New York reports.

Passengers finally reached their destination around 4:45 a.m. Friday morning, arriving about five hours later than the original scheduled arrival time, after the airline sent a “supplemental aircraft,” according to Flight Aware.

FOLLOW US ON FACEBOOK FOR MORE FOX LIFESTYLE NEWS

A spokesperson for Spirit told Fox News “the source of the odor is being investigated.”

“We apologize for the inconvenience this diversion has caused. At Spirit Airlines the safety of our Guests and Crew is paramount.”