Bystanders captured video of an impressive emergency landing at Gander International Airport, in Newfoundland, Canada on Wednesday.

The RCMP Pilatus PC-12 was en route from Moncton to St. John’s, CBC News reported, when it made an emergency diversion to Gander around 12:30 p.m., because of bad weather.

But the plane also had malfunctioning nose gear. About an hour ahead of the emergency landing, the pilot alerted Gander Airport that his aircraft was faulty. A team of emergency responders was waiting by the runway to watch the plane as it came in.

The pilot, who was the only person on board the plane, came in for a landing and briefly touched ground in hopes that the bump would knock the nose gear loose. When that didn’t happen, the pilot attempted the second landing, which was captured on film.

“The way he feathered the aircraft back and cut the engine, it was a pretty remarkable landing, right in the middle of the centre line, so certainly kudos to him and his expertise,” Reg White, the CEO of the airport, told CBC News. “He avoided something that may have been worse.”

People at the airport gathered around to watch the landing and, according to witnesses, clapped and whistled when the pilot finished his gentle landing.

The pilot managed to walk away from the landing unharmed and with only minimal damage to the plane. Canada's Transportation Safety Board will investigate the incident.