Two terminals at New York’s JFK Airport were evacuated and all flights temporarily canceled due to the sound of shooting, but a police source said later the “gunshots” may have actually been cheering, clapping and banging from fans watching the Olympics.

The noise that resembled gunshots was first heard at 9:30 pm local time at John F. Kennedy International Airport’s Terminal 8 on Sunday, according to witnesses.

Another round of “shots” was heard later, at 10:15 pm, in Terminal 1, according to a report by PIX11.

Witnesses posted images on social media showing the panic at JFK as crowds of passengers rushed to evacuate.

Update From Port Authority Police Regarding the Shots Fired at the JFK Airport. pic.twitter.com/HxSs0FD5pZ — NYBuff Post-1 (@NYBuffPost1) August 15, 2016

All flights in and out of airport were canceled, while the police and Port Authority hunted for the alleged gunman.

U/D Queens: JFK Airport at Terminal 8 bomb squad requested for the suspicious package, reports of shots fired at Terminal 1. — NYC Scanner (@NYScanner) August 15, 2016

However, it was revealed soon after that the panic at JFK was groundless, as no evidence was discovered in any of the terminals indicating that shots had been fired.

#BREAKING: NYPD: terminal 8 at JFK airport #NY evacuated in response to reports of gunfire; NO active shooter pic.twitter.com/RHLNshR8NE — Amichai Stein (@AmichaiStein1) August 15, 2016

“Preliminary investigation does not indicate shots were fired at JFK. There are no injuries. At this time, no gun shells or other evidence of shots fired has been found,” Scott Ladd with the Port Authority said.

JFK’s Terminal 8 was evacuated “out of an abundance of caution,” the statement said.

Current scene outside JFK Terminal 8 (via my relative) pic.twitter.com/k583XN58ib — lvan the K™ (@IvanTheK) August 15, 2016

“No shots were fired,” the New York police confirmed on Twitter after searching through all of the terminals.

JFK UPDATE: All terminals searched & cleared. Negative results. All affected terminals will resume operations shortly. No shots were fired. — NYPD Special Ops (@NYPDSpecialops) 15 August 2016

An unnamed police source later told NBC that cheering, clapping and banging from fans watching the Rio Olympics on TV monitors was most likely mistaken for gunfire.

About to land at JFK, but pilot suddenly announces flight diverted to Buffalo! JFK apparently "shut-down". No idea why — Umang Dua (@umangdua) August 15, 2016

Photos, of 100's of people standing outside in the panic, after numerous reports of an active shooter in JFK Airport pic.twitter.com/AmAYPhjGN1 — NYBuff Post-1 (@NYBuffPost1) August 15, 2016

A similar incident occurred in the French Mediterranean resort of Juan-les-Pins on Sunday, when 40 people received minor injuries in a stampede caused by noise resembling gunfire.

READ MORE: Dozens injured in stampede sparked by ‘shooting’ scare in French Riviera resort

A local radio reported afterwards that fire crackers or a car with a noisy engine were actually the most likely culprits.