A man who threatened to kill the driver of a Poolmart van before stealing the vehicle has avoided jail time.
The van was parked outside the store in Warnbro in January 2012 when Ian Stewart Mellowship spotted the keys on the dashboard.
When the driver returned to the vehicle after briefly picking something up from inside he noticed Mellowship inside the van.
The driver tried to jump into the passenger seat, but Mellowship pointed a knife to his throat and threatened to kill him before swerving the vehicle from side to side until the man was thrown out.
The pool shop worker was not injured and the van was later found abandoned in Port Kennedy.
The Supreme Court heard on Tuesday the now 27-year-old stole the van because he wanted to see his girlfriend and had no money for transport.
He was also a long term user of illicit drugs after his mother died when he was a teenager.
Mellowship was sentenced to 21 months imprisonment, suspended for 15 months.
Mandurah teacher who raped student to remain on bail
Man charged after allegedly exposing himself to girl on Transperth bus in Lakelands
Fire rips through Golden Bay home
Firefighters battle bushfire near Nambeelup
Alcoa Children's Festival cancelled due to severe weather
Man charged over crime rampage from Furnissdale to Kwinana
Damaging winds forecast for Harvey, Dwellingup, Pinjarra
Southern suburbs man claims $15 million Lotto win after eventually answering life-changing call from Lotterywest
Two women taken to hospital after Kwinana Freeway crash