Train services have resumed after a car fell 10 metres onto the tracks in Cooloongup.
Emergency crews were called to the scene near Ennis Avenue and Elanora Drive around 1.20pm on Saturday.
Witnesses told Nine News the 58-year-old driver became trapped after he reversed straight through a fence, plunging onto the train tracks.
Firefighters managed to free the man, who was taken to Royal Perth Hospital with minor injuries.
Trains between Rockingham and Mandurah were cancelled for several hours but have since resumed.
'Prognosis terrifying' for young boy struck by car in Cooloongup
K9 Rescue's long-term resident in desperate search for loving home
West Coast Radio announcer Darragh O’Dea takes out Best Local Show at Australian Audio Awards
Lucky escape for two people after boat smashes into Mandurah Estuary Bridge
Secret Harbour Golf Links to host WA's most prestigious golf tournament
Upgrades begin on Kwinana Loop Trail
Shire of Harvey councillors vote in favour of city status
Erskine syndicate shares in division one Lotto win
Man accused of chasing down boy in Greenfields car park before assaulting him and stealing bicycle