A curious koala has been captured wandering perilously close to a Sydney train line before the native animal was corralled to safety into nearby bushland.
The marsupial was caught on video crawling beneath a fence onto a platform at Casula train station, in the city's southwest, shortly after 4am on Friday.
It then wandered the platform's edge - past the yellow line - before moving to the stairs to check out the bridge connecting the platforms.
A security guard on a passing train noticed the iconic Australian animal and put in a call warning trains to slow down when passing the station.
Police arrived about 4.30am to usher the marsupial back through the fence into the adjoining bushland, but not before a commuter was able to get a close-up video.
Southwest Sydney is home to a large koala population, but they face mounting threats from urban development.
Vehicle strikes have increased in the region in recent years as new roads increasingly divide their natural habitat and force the animals into harm's way.
The NSW government has invested $600,000 into the region as part of its koala strategy, appointing a dedicated koala officer, restoring habitats and tracking the animals to avoid vehicular deaths.
The strategy also targets 18 other koala populations across the state, backed by a total investment of $15.7 million.