A 15-year-old authorities say stood on the awning of his apartment building in May and opened fire on police officers is competent to stand trial, a D.C. Superior Court judge ruled Tuesday.

The teen underwent months of evaluations and medical treatment since his May 21 arrest. He will remain held ahead of a trial scheduled for Nov. 8.

Prosecutors had charged the teen as a juvenile with 11 counts, including attempted first-degree murder while armed, assault with intent to kill, assault on a police officer and aggravated assault with a dangerous weapon.

The teen was arrested after he allegedly shot a police officer who had responded to an early morning report of a man with a gun in the 700 block of Crittenden Street NE. When uniformed officers arrived, they found the boy on the awning of his apartment with a .38 revolver, authorities said.

One officer, who was wearing a protective vest, was hit three times and briefly hospitalized, police said. Another was grazed.

At a hearing in September, Judge Milton C. Lee ordered additional psychological tests for the teen, who was being reviewed at the Psychiatric Institute of Washington. A subsequent report filed with the court by the institution’s said medication had improved the juvenile’s condition and he could stand trial, the teen’s attorney Antoini Jones said after the hearing.

The Washington Post generally does not usually identify juveniles charged in crimes.

Keith L. Alexander covers crime and courts, specifically D.C. Superior Court cases for The Washington Post. Alexander was part of the Pulitzer Prize winning team that investigated fatal police shootings across the nation in 2015. Follow him on Twitter: @keithlalexander

Comments our editors find particularly useful or relevant are displayed in Top Comments, as are comments by users with these badges: . Replies to those posts appear here, as well as posts by staff writers.

To pause and restart automatic updates, click "Live" or "Paused". If paused, you'll be notified of the number of additional comments that have come in.

Comments our editors find particularly useful or relevant are displayed in Top Comments, as are comments by users with these badges: . Replies to those posts appear here, as well as posts by staff writers.

Spam

Offensive

Disagree

Off-Topic

Among the criteria for featured comments: likes by users, replies by users, previous history of valuable commenting, and selection by moderators.