An Iranian man who inspired Steven Spielberg's film The Terminal has died in Charles de Gaulle Airport where he lived for 18 years.
Mehran Karimi Nasseri died after a heart attack in Terminal 2F on Saturday, an official with the Paris airport authority said.
Police and a medical team were called but were not able to save him, the official said.
Nasseri, believed to have been born in 1945, lived in the airport's Terminal 1 from 1988 until 2006, first in legal limbo because he lacked residency papers and later by choice, according to French media reports.
He had been living in the airport again in recent weeks, the airport official said.
His saga inspired The Terminal starring Tom Hanks, and a French film.
Year in and year out, he slept on a red plastic bench, making friends with airport workers, showering in staff facilities, writing in his diary, reading magazines and watching passing travellers.
Staff nicknamed him Lord Alfred and he became a mini-celebrity among passengers.
"Eventually, I will leave the airport," he told The Associated Press in 1999, smoking a pipe on his bench, looking frail with long thin hair, sunken eyes and hollow cheeks. "But I am still waiting for a passport or transit visa."
Nasseri was born in 1945 in Soleiman, a part of Iran then under British jurisdiction, to an Iranian father and a British mother. He left Iran to study in England in 1974. When he returned, he said he was imprisoned for protesting against the shah and expelled without a passport.
He applied for political asylum in several countries in Europe. The United Nations High Commissioner for Refugees in Belgium gave him refugee credentials but he said his briefcase containing the refugee certificate was stolen in a Paris train station.
French police later arrested him but could not deport him anywhere because he had no official documents. He ended up at Charles de Gaulle in August 1988 and stayed.
Further bureaucratic bungling and increasingly strict European immigration laws kept him in a legal no-man's land for years.
When he finally received refugee papers, he described his surprise, and his insecurity, about leaving the airport.
He reportedly refused to sign them, and ended up staying there several more years until he was admitted to hospital in 2006, and later lived in a Paris shelter.
Those who befriended him in the airport said the years of living in the windowless space took a toll on his mental state.
The airport doctor in the 1990s worried about his physical and mental health, and described him as "fossilised here". A ticket agent friend compared him to a prisoner incapable of "living on the outside".
Nasseri's mind-boggling tale loosely inspired 2004's The Terminal starring Hanks, as well as French film Lost in Transit and an opera called Flight.
In The Terminal, Hanks plays Viktor Navorski, a man who arrives at JFK airport in New York from the fictional Eastern European country of Krakozhia and discovers that an overnight political revolution has invalidated all his travelling papers.
Viktor is dumped into the airport's international lounge and told he must stay there until his status is sorted out, which drags on as unrest in Krakozhia continues.
Lifeline 13 11 14
beyondblue 1300 22 4636