September 10, 2014 11:16 AM EDT

Here’s one way to snarl a morning commute – a herd of 17 goats took a stroll down the railway tracks in a Spanish train station Tuesday morning, The Guardian reports.

The goats were “completely disoriented and frightened,” said security guard Antonio Jesús Martínez, who spent 40 minutes coaxing the goats off the tracks, according to The Guardian.

Eventually, all of the goats were taken out of the Terrassa station one-by-one and safely returned to their goatherd. “Some of them ended up spending eight or nine hours in the station,” said Jordi Carrera, a representative of Ferrocarrils de la Generalitat de Catalonia. “But they were well looked after.”

More Must-Read Stories From TIME

Write to Tessa Berenson at

Read More From TIME
You May Also Like