NEW YORK (CBSNewYork) — A JetBlue flight from Boston to Las Vegas landed at John F. Kennedy International Airport Monday evening after it struck birds.

JetBlue Airways Flight 877, an Airbus 320 aircraft, struck the birds after departing Boston Logan International Airport around 4:45 p.m., according to the Federal Aviation Administration.

READ MORE: Teen Sisters On Long Island Recognized For Helping Seniors Schedule COVID Vaccine Appointments

The crew declared an emergency and initially planned to return to Logan, but could not do so because of the weather, the FAA said.

READ MORE: Brooklyn Man Arrested, Charged With Sexually Abusing Teenage Girl

The plane circled and dumped fuel before safely landing at JFK just before 7:30 p.m., 1010 WINS’ Roger Stern reported.

In a statement, JetBlue said the passengers on the plane were to get on another aircraft.

MORE NEWS: Internal Review Clears New Rochelle Police Officer Who Fatally Shot Man Fleeing Traffic Stop

JetBlue has not indicated whether the plane was damaged.