Several people onboard a Spirit Airlines flight were reportedly taken to the hospital after the plane was forced to land due to an “unknown odor,” officials confirmed to local outlets.

In a statement to Fox News, a spokesperson for Spirit Airlines confirmed the incident and said the crew was taken to the hospital "as a precaution."

"Flight 301 with scheduled service Wednesday from Baltimore to Fort Lauderdale turned back shortly after takeoff due to an unknown odor presenting onboard. No Guests reported any medical issues. Our crew of 7 were checked out as a precaution," the statement read.

The flight departed from Baltimore/Washington International Thurgood Marshall Airport in Maryland around 7 a.m. for Fort Lauderdale, Fla. Soon after takeoff, the flight declared an alert for “major difficulties” and was forced to return to the Maryland airport, Patch.com reported.

SPIRIT AIRLINES FLIGHT DIVERTED DUE TO HAZMAT SITUATION

The flight landed at the airport without incident.

The BWI Marshall Airport Fire and Rescue Department and Anne Arundel County emergency crews responded to the plane after receiving a call for assistance around 7:20 a.m.

CLICK HERE TO GET THE FOX NEWS APP

FOLLOW US ON FACEBOOK FOR MORE FOX LIFESTYLE NEWS

The aircraft is currently out of service and the incident is being investigated.

Airport Fire & Rescue did not immediately respond to Fox News' request for comment.