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.

Pop-up ice skating rink glides back into Mandurah for winter school holidays
Federal opposition leader Angus Taylor sits down with local business owners in Mandurah
Police search for missing man last seen leaving Rockingham Hospital
West Aussies urged to be on high alert after surge in winter house fires
New $3.4 million boardwalk to be constructed at Lake Clifton thrombolites
City of Mandurah rolls out new tactile bin lids, accessibility stickers to support residents with low vision
Driver dies in hospital after Australind crash
Welfare concerns for woman with dementia last seen in Cooloongup
Charges laid over fatal West Coolup crash
