A 19-year-old man was shot in Byford overnight.
Local police and officers from the Gang Crime Squad are investigating.
Around 10pm last night police were called to a house in Plaistowe Boulevard in relation to several shots being fired.
A group of people were outside a residence when its believed a vehicle drove past them, and an occupant of the car fired a weapon several times.
One of the shots hit a 19-year-old man in the leg.
Police attended the scene and the man was taken to Royal Perth Hospital by ambulance.
He has since left the hospital at his own risk.
Anyone with information regarding the incident is urged to contact Crime Stoppers on 1800 333 000 or make an online report.
Bondi Beach Statement
Police issue 31,000 driving infringements in first month of new AI cameras
Works underway on Rockingham and Safety Bay High School redevelopments
New measles exposure sites revealed in Bunbury
Dawesville man charged after allegedly leaving his elderly Great Dane to suffer painful conditions
Good Samaritan sought by police after helping teen during robbery in Baldivis
Under-16s social media ban now in force
Desperate search continues for missing Bunbury FIFO worker
Passengers now able to use credit, debit cards to tag on and off WA's public transport