An 18-year-old man has been charged over an incident at a Mandurah high school.
Police say they received a report of two "unregistered visitors" entering John Tonkin College on Education Drive in Greenfields around 11am on Tuesday, May 27.
The pair had been involved in an altercation before the school placed the campus into lockdown.
The neighbouring South Metropolitan TAFE campus was also sent into lockdown.
"Staff members instructed the unregistered visitors to leave the school grounds, and they left the area," a WA Police spokesperson said.
"Nobody was injured during the incident."
An 18-year-old has since been charged with one count of being armed or pretending to be armed in a way that may cause fear and one count of trespass.
He is due to appear before the Mandurah Magistrates Court on June 24.
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