A 14-year-old boy who in November shot a man participating in a Trump protest in Portland has been ordered to youth prison, possibly for more than a decade.

The juvenile, whom The Oregonian/OregonLive isn't identifying because of his age, could be released at any time officials at the MacLaren Youth Correctional Facility in Woodburn determine he's rehabilitated to the point of returning home. He will be released no later than his 25th birthday.

The teen shot 21-year-old Louis Carlos Paredes-Luis in the leg and grazed another person in the head about 1:20 a.m. on Nov. 12 on the Morrison Bridge. It’s unclear why the teen decided to open fire on protesters who were upset about the Nov. 8 presidential election of Donald Trump.

More details of the teen's crime and his background weren't available because of laws protecting the confidentiality of juvenile cases.

Last week, the teen entered pleas of no contest to two counts of second-degree assault with a firearm and guilty to one count of unlawful use of a weapon. The prosecution and the defense didn’t agree on whether he should be released back into the community on probation or sent to a youth correctional facility.

Multnomah County Circuit Judge Amy Holmes Hehn decided to send the teen to MacLaren.

A co-defendant, 19-year-old Shamar Xavier Hunter, is facing trial next week in adult court for his involvement in the shooting. He’s been charged with attempted murder and other crimes under the theory that he “aided and abetted” the 14-year-old by driving him onto the bridge, then driving him away after the shooting. If convicted, Hunter faces a minimum of 7½ years in prison.

Authorities say that at 1 a.m. on Nov. 1, less than two weeks before the shooting, Hunter shot nine times at a car that drove past a Halloween party in Northeast Portland. One bullet narrowly missed the driver’s head, according to the prosecution. Hunter is charged with attempted murder and other crimes, and faces another 7½ years in prison if convicted of the Nov. 1 shooting.

-- Aimee Green