A United Airlines pilot appealed for calm after a racially-charged dispute related to the U.S. presidential election result erupted before a flight to Puerta Vallarta, Mexico, took off from San Francisco, Calif. on Nov. 11.

In a short video posted to YouTube that day, the pilot can be heard, over the intercom, urging passengers to keep their political views to themselves during their three hour and 13 minute trip.

“We’re gonna be in a metal tube at 35,000 feet,” the pilot said. “I understand everybody has their opinions, that’s fine. If you support him (Donald Trump), great. If you don’t, I understand. However, we’re out here to go to Puerta Vallarta to have a good time.”

According to John Bauer, the passenger who uploaded the video, a scuffle occurred when an individual wearing a “plaid shirt and a camo cap” made a racist remark to an African American woman. Bauer wrote that the woman began to cry and “freak out,” prompting the flight crew to separate them and the pilot to intervene.

A spokesperson for United Airlines, Maddie King, confirmed the dispute in an emailed statement to CTVNews.ca.

“Our pilot was doing his best to diffuse an argument between two customers in order to get all the customers to their final destination safely,” King wrote.

The pilot asked passengers to display some "common decency" towards one another and respect each other’s decisions. He added that no one is going to change someone else’s mind by arguing with them during the flight.

“When cooler heads prevail and we can talk and realize that we’re all human beings, and we all can stick together and we can all feel for this country in our own way, then that’s what we should do,” the pilot declared.

The pilot took a firmer tone when he ended his speech by telling the passengers that if anyone had a problem with his request and they still felt the need to “rant and rave,” then they could leave.

“There’s another flight tomorrow. You’re not going to be on this one,” he said. “I hope that’s clear.”

The seated passengers erupted into cheers and started clapping to applaud the pilot on his sensible message.