A man is fighting for life after receiving an electric shock from jumping on to a train roof at Wellard station overnight.

Public Transport Authority spokesman David Hynes said staff had noticed the man behaving “agitated” before he climbed on to the roof of the station about 11.20pm.

The man then jumped on to one of two trains which had pulled into the station, hitting an overhead powerline, which was charged with 25,000 volts.

Mr Hynes said power was immediately switched off, halting the trains while emergency crews worked to save the man.

DFES firefighters spent about 50 minutes on rescuing the man who was then taken by St John Ambulance to Fiona Stanley Hospital.

He remains in a critical condition.

Trains were returned to service at 12.40am and trains are running as normal this morning.