A teenager has been charged over a rooftop standoff with police in Mandurah.
Officers were called to a residential complex on Ormsby Terrace around 1.45am on Sunday following reports a person had climbed onto the roof.
The 17-year-old boy allegedly began throwing roof tiles at police and vehicles, refusing to climb down.
He also allegedly damaged television aerials and skylights during the standoff, which lasted several hours.
During negotiations, a resident of one of the units managed to grab the teenager as he crossed a balcony railing.
He was restrained by the resident before police took him into custody.
The 17-year-old Armadale boy has been charged with nine counts of criminal damage or destruction of property, two counts of assaulting a public officer and one count of trespass.
He appeared in the Perth Children's Court on Sunday.

Locals urged to look out for man who removed electronic monitoring device
Four charged over brutal Warnbro home invasion allegedly linked to illicit tobacco trade
WATCH: Whale beached at Long Point
City of Rockingham records steep increase in animal cruelty complaints related to untreated medical conditions
Accused dirt bike hoons charged by Mandurah Police
Heavy rainfall, thunderstorms to lash Mandurah down to Busselton
Drivers escape serious injury after West Pinjarra, Baldivis crashes
Police investigate stabbing of two men at Warnbro home
Shark sighted in Dawesville Channel
