A man charged for allegedly making "direct threats" aboard a Sunwing flight from Toronto to Panama City was released on bail Saturday morning.

Ali Shahi, a 25-year-old Canadian, was arrested after Flight 772 made an emergency landing at Toronto's Pearson International Airport on Friday morning. It was escorted by two U.S. F-16 military jets.

Shahi was charged with mischief to property, mischief interfering of the lawful enjoyment of property, uttering threats and endangering the safety of an aircraft

He was released on $1,000 bail after appearing at a Brampton court.

Shahi was ordered not to board a plane or enter Pearson International Airport as part of the conditions for his release.

Outside the courthouse his father Sadegh Shahi said that his son will be sent to a hospital for a psychological assessment for at least 72 hours at the request of his family.

"That’s what I want," Sadegh Shahi said. "He's been suffering for 10 years now ... I hope they are going to do something for him."

'Ali is not at fault'

Shahi's family says he has a history of mental illnesses that weren't properly addressed by police and the health system.

Ali Shahi, who currently lives in Mississauga, is alleged to have made a threat to Sunwing flight 772. (Ali Shahi/Facebook)

"I am sorry for what happened on the flight, but Ali is not at fault," his father Shadegh Shahi said. "I blame the police and health system. We called the police for help more than 23 times in the last two to three years, but unfortunately they did nothing to help us or help my son."

Shahi became agitated when he found out the price of cigarettes on the flight was about 25 cents cheaper than what he paid at the airport and wanted to be reimbursed for the difference, family members told CBC News.

Shahi has “deep depression” that started in his teens after he was bullied for being “chubby,” according to his father and his uncle Matt Misha.

He also has gambling issues that resulted in him losing $6,000 in student loan money.

Family members say they called police on numerous occasions when Shahi became angry and started yelling. They say Shahi was picked up by officers and dropped off at a coffee shop or other places nearby because he couldn't be arrested.

Peel police cannot confirm if Shahi is known to them, public information officer Const. Thomas Ruttan said.

Fighter jets dispatched

Family members say they've tried to seek treatment for Shahi, but were told he can't be admitted against his will.

Shahi also stayed briefly at Mississauga's Credit Valley Hospital for mental health issues, family members said. What was supposed to be a month-long treatment lasted only a few weeks after the hospital discharged him for "not following rules,” Shahi's father said.

Police come on the Sunwing flight to deal with an 'unruly passenger' who threatened the security of the plane. (Alain Alphonso)

Credit Valley Hospital did not immediately respond to CBC News's interview request Saturday.

Shahi attended the University of Toronto briefly. He now goes to Lakehead University in Thunder Bay and has changed majors several times, family members said.

Shahi was travelling with his girlfriend at the time.

Passengers file out of Sunwing Flight 772 after police made an arrest on board. (Alphonso Alain)

Flight 772 — with 181 passengers, two infants, two pilots and four flight attendants on board — turned around for the emergency landing after 45 minutes in the air.

The two U.S. F-16 fighter jets from Toledo, Ohio, were dispatched to escort the plane back to Toronto, North American Aerospace Defence Command (Norad) confirmed. The F-16s flew with the commercial plane out of U.S. airspace to Toronto as a "precaution."

The RCMP took the lead on the investigation once the plane landed at Pearson airport at 8:55 a.m. ET.

When the plane landed, a passenger said five or six officers with guns drawn boarded the plane and removed Shahi.