A JetBlue flight en route to Boston made an emergency landing in Buffalo, New York Wednesday morning.

The flight, which took off from Chicago, made the landing after the pilot said he smelled smoke in the cockpit. The flight landed safely just after 11:30 a.m.

A JetBlue spokesperson said crews inspected the plane and all the passengers were put on other flights.

(Copyright (c) 2016 Sunbeam Television. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)

Join our Newsletter for the latest news right to your inbox