Story updated 8:25 a.m. Eastern
A Cyprus foreign ministry official says the hijacker of the EgyptAir plane that was diverted to Cyprus has been arrested and that the situation is "over."
Alexandros Zenon, the permanent Secretary of the Foreign Ministry, did not immediately have more details on the arrest, which ended an hours-long drama at the Larnaca airport.
Earlier, seven more people -- presumably the last of the crew and passengers who had remained with the hijackers onboard -- were seen leaving the plane. One man climbed out the cockpit window.
LARNACA, Cyprus -- An Egyptian man hijacked an EgyptAir plane Tuesday and forced it to land in Cyprus, where most passengers were eventually allowed to get off, though four crew members and three passengers remained on board with the hijacker, Egyptian and Cypriot officials said.
The man's motivation was unclear, but Cyprus President Nicos Anastasiades said the hijacking was "not something that has to do with terrorism" and a Cyprus government official, speaking on condition of anonymity to discuss an ongoing investigation, said the man "seems (to be) in love."
A civil aviation official, also speaking on condition of anonymity because he wasn't allowed to disclose details of ongoing negotiations, said the man gave negotiators the name of a woman who lives in Cyprus and asked to give her an envelope. It's unclear what relationship she and the man have.
Flight MS181 took off from the Mediterranean coastal city of Alexandria en route to Cairo with at least 55 passengers, including 26 foreigners, and a seven-member crew.
An official with flight-tracking website FlightRadar24 said the plane showed no immediate signs of distress. The flight between Alexandria and Cairo normally takes about 30 minutes.
There was some confusion about the hijacker's identity. At a news conference in Cairo, Egypt's Civil Aviation minister, Sharif Fathi, refused to identify him.
Earlier, Egyptian government spokesman Hossam al-Queish said the hijacker was Ibrahim Samaha, but an Egyptian woman who identified herself as Samaha's wife said her husband is not the hijacker and was on his way to Cairo so he could fly to the U.S. to attend a conference.
The woman, who identified herself only as Nahla, told the Egyptian private TV network ONTV in a phone interview that her husband had never been to Cyprus and that a photo on Egyptian and regional TV channels that supposedly showed the hijacker was not him. Later, the official Middle East News Agency gave a different name for the hijacker.
Al-Queish, the government spokesman, also told the private CBC TV network that authorities could not confirm that the hijacker had explosives on him. An earlier statement from the Egyptian Aviation Ministry said the man claimed he had a belt with explosives.
The plane landed at the airport in the southern Cypriot city of Larnaca, also on the Mediterranean. A statement from the Egyptian Civil Aviation Ministry statement said the foreigners on board included eight Americans, four Britons, four Dutch, two Belgians, a French national, an Italian, two Greeks and one Syrian. Three other foreigners could not be identified. Fathi did not give the nationalities of those who remained on the plane.
The incident raises more questions about security at Egyptian airports, five months after a Russian aircraft crashed over Egypt's Sinai Peninsula minutes after it took off from Egypt's Red Sea resort of Sharm el-Sheikh.
All 224 people on board were killed in the crash. Russia later said an explosive device brought down the aircraft and the extremist Islamic State group took responsibility.
Hendawi reported from Cairo. Maggie Michael in Cairo contributed to this report.
This article was written by Menelaos Hadjicostis and Hamza Hendawi from The Associated Press and was legally licensed through the NewsCred publisher network.