Authorities have shot the wayward sheep whose bid for freedom caused traffic chaos along Kwinana Freeway and forced train delays.

The woolly four-legged creature wandered onto the freeway near the Farrington Road on ramp at around 10.30am Wednesday then wandered on to the train tracks.

Play Video A sheep is causing chaos on the Kwinana Freeway and train lines near Cockburn in Perth's south. A sheep is causing chaos on the Kwinana Freeway and train lines near Cockburn in Perth's south.

Footage sent in by social media shows the plucky animal casually strolling along the tracks as a train driver follows it slowly behind.

Camera Icon The sheep just casually strolling along the tracks. Credit: Stuart Jeffrey

For more than two hours authorities tried to catch the animal with dozens of commuters filming the sheep’s antics on the tracks.

Then at around 12.30pm, a ranger was able to corner the sheep, taking its shot.

Cockburn Council’s manager of recreation and community safety, Travis Moore, said over the past 24 hours rangers attended numerous requests of a wandering sheep which was eventually located on Kwinana Freeway train lines.

Camera Icon A sheep is loose on Kwinana Freeway causing train and traffic delays.

“The City was subsequently contacted by WA Police and the Public Transport Authority (PTA) to assist in the matter, attempts were made to capture the sheep for several hours.

“However, these proved to be unsuccessful causing a number of delays to train services and danger to motorists and officers involved.

“In consideration to public safety and the animal’s welfare, the agencies involved determined that euthanising the sheep via the use of a firearm was the most appropriate course of action, after it was observed to be in distress, further increasing the risk to public safety.

“A City ranger humanely euthanised the sheep onsite while train services were temporarily suspended and part of the southbound freeway was closed.”