Updated

A Canberra court has ordered an 18-year-old student to undergo a mental health assessment after he was charged with attacking his teacher and three of his fellow students with a baseball bat at one of Australia's most prestigious universities.

Alex Ophel was charged in the Australian Capital Territory Magistrates Court on Saturday with several violent offenses including intentionally inflicting grievous bodily harm, which carries a potential maximum of 20 years in prison, and assault occasioning actual bodily harm, which carries a maximum five-year sentence.

Police say Ophel stood up from his seat in an Australian National University classroom armed with a bat and attacked the teacher and three students on Friday.

The four victims were hospitalized with serious but non-life threatening injuries, including broken bones.