Recent hijackings have been carried out by individuals for reasons ranging from personal to political.
The hijackers who diverted the plane on Friday to Malta released everyone onboard and surrendered. A Libyan official claimed the men had sought asylum, but Maltese Prime Minister Joseph Muscat said they had not.
Other recent hijackings have been carried out by individuals for reasons ranging from personal to political, and almost all ended swiftly and safely.
Here are examples from the past 10 years:
A man hijacks an EgyptAir flight on March 29, 2016 from Alexandria to Cairo with 55 passengers and crew onboard, and forces it to land in Cyprus so he can see his ex-wife.
Seif al-Din Mohamed Mostafa, 58, is described as "psychologically unstable" and claims to have explosives strapped to his waist, but gives himself up after releasing fellow travellers.
An Ethiopian Airlines flight to Rome with 202 people on board is diverted on February 17, 2014 by its unarmed copilot to Geneva where he asks for asylum.
Hailemedehin Abera Tagegn is arrested, but Switzerland refuses an Ethiopian request for his extradition.
A reportedly drunk man hijacks a flight on February 7, 2014 with 110 people on board from Ukraine's second city Kharkov to Istanbul.
He brandishes what he claims is a detonator and shouts "Let's go to Sochi," Russia, where the Winter Olympics opening ceremony is under way.
The plane is escorted by Turkish F-16 jets to Istanbul where anti-terrorist commandos end the incident without any casualties.
A Bolivian preacher and former drug addict hijacks on September 9, 2009 an Aeromexico airliner from Cancun to Mexico City with 104 people on board, saying he is on a divine mission.
Presenting sand-filled juice cans with coloured lights as a bomb, Jose Marc Flores Pereira surrenders after the plane lands, with most passengers unaware they had been taken hostage.
The hijacker says he had to warn Mexico it was threatened by an earthquake.
A Sun Air flight carrying 95 people from Nyala in Sudan to Khartoum is hijacked on August 26, 2008 by two men and lands in Kufra, southern Libya after running low on fuel. Almost a day later, the men surrender and the passengers are freed.
An Egyptian and a Turk who claim to be Al-Qaeda members hijack on August 18, 2007 an Istanbul-bound Atlasjet flight from the breakaway Turkish Republic of Northern Cyprus with 142 people on board and demand to fly to Iran or Syria.
The pilots land in Antalya, Turkey to refuel, and while women and children are being freed by the front door, most of the other passengers escape through the rear. The rest are released several hours later when the hijackers surrender.
An unarmed Turkish army deserter, Hakan Ekinci, seizes on October 3, 2006 a Turkish Airlines flight carrying 113 people from Tirana to Istanbul. The plane is forced by Greek and Italian jets to land in Brindisi, Italy.
Ekinci had forced his way into the cockpit with a parcel that he said was a bomb, and wanted to send a message to Pope Benedict XVI.
He claimed to be a Christian convert and a conscientious objector, and sought to avoid Turkey's compulsory military service.