A teenage boy accused of stabbing a student at the University of Sydney has been charged after a terrorism investigation.
Police on July 2 responded to the alleged attack on a 22-year-old man who was rushed to hospital with stab wounds to the neck.
The victim was released a day later, and the 14-year-old accused was arrested after attending the same hospital where he was treated for cuts and underwent a mental health assessment.
The inner-city Camperdown campus went into lockdown as police raced to the scene and searched for the attacker.
Counter-terrorism police were brought in to run the investigation and charged the boy on Tuesday.
He has been charged with causing wounding or grievous bodily harm with intent to murder, along with three counts of damaging property by fire or explosion.
Police will allege he deliberately set fire to a number of bins at two locations in Sydney's inner-west the day before the alleged stabbing.
He was not charged with any terrorism offences.
The teenager faced a children's court on Tuesday where he was formally refused bail.
He will be back in court on October 1.
Police said the boy had been receiving mental health treatment since his arrest.
Lifeline 13 11 14
Kids Helpline 1800 55 1800 (for people aged 5 to 25)