Almost 1,300 sheep invaded a Spanish city after their shepherd fell asleep on 7 June, requiring the local police to come and round them up.

The flock of sheep started making their way through the town of Huesca just after 4am local time, and police were alerted when they received multiple phone calls from residents.

When the police finally found the herder, he was still asleep. Both the police and the shepherd were eventually able to move the sheep out of the town by 7am.

The video shows a police car flashing it's lights and blocking the road in an attempt to herd the flock out of the town. The local police uploaded the video onto their official Facebook page.