The European Union (EU) is proposing emergency humanitarian aid to Greece, where more than 20,000 refugees and migrants are stuck as a result of ramped-up border controls and security measures that caused them to accumulate there.

The EU said it would allocate 300 million euros this year to helping any EU state manage its humanitarian crises, not only Greece, and a total of 700 million over the three years ending in 2018.

The union will propose funding the new scheme through transfers within the EU’s existing multi-year budget, officials said, without touching funds earmarked for humanitarian relief outside the 28-nation bloc.

Beyond 2018, the scheme would continue with further funding.

A European Commission spokesman told reporters the new plan was needed “to prevent humanitarian suffering as a result of an unprecedented number of people arriving in the EU.”

The move followed Greece’s request of around 500 million euro in funding from Brussels as the situation of the estimated 8,000 refugees waiting at the Idomeni Border Gate of Macedonia worsened.

Refugee arrivals in Europe in 2016 have already exceeded 130,000, according to International Organization for Migration (IOM) figures.

Previously in 2015, more than one million refugees arrived in Europe.