A Delta flight from Atlanta bound for New York City was forced to make an emergency landing at John F. Kennedy International Airport, after the pilot noticed a mechanical issue. 

According to WABC, no passengers on board the aircraft sustained injuries.

The pilot detected what appeared to be an issue with the plane's hydraulics.

While flying low and close to its destination, Flight 886's emergency light came on, signaling a warning that something could be malfunctioning in the plane's hydraulic system, the Federal Aviation Administration reported on Friday.

Officials diverted the plane as a precautionary measure. The pilot reportedly chose to land in JFK because of its close proximity to LaGuardia.

JFK's runways are also longer than those at LaGuardia, WABC reported. 

The McDonald Douglas MD88 landed at about 9 p.m. in New York.

But once the plane began taxiing on the runway, it suddenly veered off the taxiway, rolling into a grassy patch nearby. The FAA reported that the plan was traveling at low speeds at the time.

The 118 passengers and 5 crew members on board the plane made it out with no injuries.

Officials from the Port Authority Police Crash, Fire, Rescue Unit were called to the scene at JFK on Thursday night. Passengers took shuttle buses to Terminal 2, WABC reported. Free shuttles to LaGuardia Airport were also available.

The FAA has been tasked with a probe into the potential hydraulics system failure. 

If the plane's hydraulics did malfunction, there could be issues with the flaps, brakes and steering of the aircraft.