A 37-year-old is in a stable condition at Perth Royal Hospital after being shot by police in Yanchep.
Two officers were patrolling in Yanchep just after midnight when they saw a man acting strange.
When the officers approached the man he threatened them with a knife before running into nearby bushland.
The man reappeared from the bushes and confronted the two officers with and knife and a pole, at which point both officers discharged their firearms.
The man was given first aid by police until St John Ambulance paramedics arrived and was then taken to Royal Perth Hospital
The Major Crime Division and the Internal Affairs Unit are investigating the incident.
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