American Airlines flight makes emergency landing in Panama City Beach

American Airlines flight 3260 from Pensacola to Miami, had to make an emergency landing at Northwest Florida Beaches International Airport Wednesday morning after pilots noticed smoke in the cockpit.

PANAMA CITY BEACH, Fla. (WJHG/WECP)-- UPDATE: July 20, 2016 11:25 a.m.
All passengers aboard American Airlines flight 3260 Pensacola to Miami, which had to divert to Panama City Beach due to smoke in the cockpit, have been taken by bus to the Fort Walton Beach airport (VPS) where they'll resume their flight to Miami.

Original story July 20, 2016 9:30 a.m.
There were some anxious moments in the air for passengers of American Airlines flight 3260 from Pensacola to Miami after the pilots noticed smoke in the cockpit.

According to FlightAware.com, at 6:34 a.m., the plane was just off the coast of Panama City when the pilots declared an emergency and diverted to Northwest Florida Beaches International Airport. The 50 passenger Embraer ERJ 145 was able to safely land at ECP at 6:53 central time. No injuries were reported.

AA3260 is being operated by Envoy Air, a wholly-owned subsidiary of American Airlines which, along with other regional carriers, feeds the American Airlines network under the American Eagle brand.

As of 9:30 a.m., the flight to Miami is scheduled to takeoff at 12:01 p.m. central time.

We have a reporter on scene and will bring you more information as it becomes available.