Police are yet to lay charges over an attempted armed hold-up at a service station in Silver Sands.
It's alleged a man armed with a gun demanded cash at the service window of the BP on Mandurah Terrace just before 5am on Thursday.
Luckily, staff were able to go to another area of the store and the man left empty handed.
He fled the area in a vehicle that another person was driving.
A short time later a Hyundai Getz was stopped on Old Coast Road in Erskine, where two men were taken into custody.
Police then went to a home on Park Ridge Drive in Bouvard where they arrested a third man.
The men aged 34, 28 and 34 remain in custody.
Charges are yet to be laid.
Baldivis Police on the lookout for reckless dirt bike riders
WATCH: Youths captured on CCTV stealing car in Golden Bay
Fire crews battle early morning blaze in Warnbro
Driver charged over alleged hit-and-run on Mandurah Terrace
More paramedics, ambulances to be stationed in Dawesville, Australind
Strict demersal fishing bans to come into force off WA coast to save species from extinction
Police call for witnesses to fatal Waroona crash
Teen injured in suspected hit-and-run in Mandurah