Thousands of migrants have crossed into Austria, after Hungary's surprise decision to provide buses to take them to the border overnight.

For days, the Hungarian government had blocked them from travelling by train to northern and western Europe.

About 4,000 exhausted people, many of whom had initially fled Syria, crossed the Austrian border and are being received in a Red Cross Centre.

Austria says they can claim asylum or carry on to Germany if they wish.

The move comes as European Union countries are struggling to agree on how to deal with an unprecedented surge of asylum seekers.

Hungary's government eased restrictions on transit after many migrants overwhelmed police cordons and set off towards the border on foot on Friday.

{keywords}

Buses began picking up migrants from Keleti station in central Budapest, where thousands had been camped.

Vehicles were also sent to take those who had decided to walk along a motorway to Austria.

On Saturday Hungarian government spokesman Zoltan Kovacs told the BBC there would be no more buses or trains to take the migrants on to Austria.

He said the transport had been arranged as a one-off, because of fears for the migrants' safety.

On Saturday morning about 200 people remained at Keleti station, where a major clean-up was under way.

When the buses arrived, some of the migrants argued with officials, fearful they would be arrested rather than sent to Germany, the BBC's Matthew Price reported.

But early on Saturday, groups began crossing the border on foot. Some Austrians displayed welcome signs.

Austrian Red Cross workers at a makeshift centre greeted them with blankets and tea.

"I feel [at] home," said Ayaz Morad, one of the first to arrive. "This is a great land - nice people, nice government."

The migrants are now being taken by train from the Austrian border town of Nickelsdorf to the capital Vienna. Many hope to travel on to Germany.

Source: BBC