Thousands of migrants have boarded trains and buses in Macedonia that are taking them one step closer to the European Union, a day after they stormed past police trying to block them from entering the country from Greece.

On Saturday, thousands of rain-soaked migrants rushed past the Macedonian officers, who had been guarding the border for three days. Dozens of people were injured as the migrants leapt over barbed wire or ran across a field not protected by the fence to enter Macedonia.

After the incident, police decided to allow migrants to cross the border freely again.

On Sunday the migrants boarded trains and buses that took them to the border with Serbia before heading farther north toward EU-member Hungary.