Just after midnight (Thursday 17 September 2020) two police officers were patrolling in Yanchep.
The officers saw a man acting in a strange manner.
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 officers with a knife and a pole.
Both officers have discharged their firearms.
The man was given first aid by police until St John Ambulance paramedics arrived.
A 37 year old man was taken to Royal Perth Hospital where he has undergone surgery and his condition is currently described as stable.
The Major Crime Division and the Internal Affairs Unit are investigating the incident.