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: Juneteenth Celebrations Across New York City Take On New Meaning In 2021

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: President Biden Makes Vaccination Push As Concerns Over Delta Variant Increase

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: Tropical Storm Claudette Batters Gulf Coast With Heavy Rain And Flooding

JetBlue has not indicated whether the plane was damaged.