Greek police early Friday began evacuating the last remaining migrants and refugees from a makeshift camp at Hellinikon, a disused former airport and ex-Olympic facility south of Athens, officials said.
"About 450-500 people are in the camp," police spokesman Theodoros Chronopoulos told AFP.
"The operation is underway without incident as they had been informed beforehand," he added.
The mainly Afghan refugees were living at the camp at Hellinikon -- which until 2001 was the Athens airport -- in crumbling flight lounges and abandoned sports facilities built for the 2004 Olympics.
Rights groups have repeatedly labelled the makeshift camp on Athens' coastal front unsuitable for long-term accommodation and called on the government to find alternative arrangements for the refugees.
In February, some of the refugees went on hunger strike to protest the lack of hot water and suitable food.
Families will be relocated to another camp near the town of Thiva, and solitary adults will be taken to police headquarters for an identity check, Chronopoulos said.
The refugees were initially deposited at Hellinikon from late 2015 onwards as a temporary measure, as Greece's leftist government scrambled to accommodate hundreds of thousands of people of all ages landing on Europe's doorstep to escape war and poverty.
Many of them slept at the port of Piraeus, at Hellinikon and at another improvised camp on the northern Greek border for months before organised camps could be created with the help of volunteer groups and EU funds.
Overall, some 60,000 people including many young Syrians, Afghans and Pakistanis, have been stuck in Greece for the past year after neighbouring countries along the migrant route into Europe shut their borders.
At the start of the 2015 influx, Afghans were originally viewed as refugees and allowed to continue their journey from Greece to other countries in Europe.
But many now face deportation -- despite growing insecurity that saw civilian casualties in Afghanistan hit a record high in 2016 -- after a disputed deal between EU and Kabul to send migrants back.