Denver District Attorney Beth McCann’s office says the boy was formally charged Tuesday with criminal attempt to commit murder in the first degree, assault in the first degree and possession of a handgun by a juvenile.

He appeared in court on Wednesday morning to be told of the charges. The boy’s name and photo are not being released because he was charged as a juvenile.

The shooting happened Aug. 28 near Cole Middle School northeast of downtown Denver.

McCann’s statement says the boy who was shot remains in critical condition.