In Summer 2015, Hungary announced the construction of a 175-km-long razor-wire fence along its southern border with Serbia, a non-EU and non-Schengen state, as a countermeasure against the influx of migrants taking the Balkan route.
As Hungary's prime minister, Viktor Orbán, defended the country's management of the migrant crisis, mayhem ensued at Budapest's Keleti rail station, after it was shut down under the strain of the massive flow of people trying to travel to Germany.
Then, thousands of migrants blocked in Budapest set off by foot toward Vienna: on the same night, the authorities decided to transport them to Hegyeshalom, on the border with Austria.
A few days later, Hungary sealed its boundary with Serbia and started building another fence, this time along the border with Croatia, a fellow EU member state; since then, thousands of migrants daily were diverted to Slovenia instead.