An 18-year-old man who helped his 14-year-old friend get away after shooting a Trump protester on the Morrison Bridge in November will be sentenced to 7.5 years in prison later this month.

Shamar Xavier Hunter pleaded guilty Thursday to unlawful use of a weapon -- under the theory that he aided and abetted the 14-year-old -- for the Nov. 12 shooting that left Trump protester Luis Paredes with a bullet wound to the leg on the Portland bridge. The 14-year-old also fired a second shot, which struck a car and then grazed the scalp of Rosa McLain, who had been sitting inside as she waited for thousands of people protesting the presidential election of Donald Trump to clear the road.

Police reports indicate the 14-year-old didn’t know either of the people he shot, but he might have been frustrated with protesters blocking the roadway and banging on the car he was riding in as he and Hunter tried to make their way across the bridge about 1:20 a.m., said Hunter’s defense attorney, Alicia Hercher.

Authorities say earlier that night, the pair had assaulted a clerk at a downtown 7-Eleven after the clerk wouldn’t let them into the convenience store because they were wearing bandanas or scarves over their faces.

Hunter didn’t make any statements during his plea hearing in Multnomah County Circuit Court.

The 7½-year sentence also will reflect an attempted murder conviction for opening fire on a stranger’s car 11 days earlier, on Nov. 1. Investigators say Hunter was at a Halloween party near Northeast Sandy Boulevard and 115th Avenue when someone drove by the house and opened fire.

Hunter was one of 10 people to emerge from the house, each holding a gun, investigators said. Moments later, when an innocent driver -- 18-year-old Rachel Morgan -- drove by, Hunter was one of three people to fire toward her car, investigators said.

A bullet narrowly missed Morgan’s head, and lodged in the dashboard. In all, Morgan’s car was struck six times, but Morgan and friends in the car weren’t injured, authorities said.

Hunter has no previous history of criminal convictions.

Neither of the victims from the Morrison Bridge shooting attended Thursday’s hearing.

Morgan, the driver of the car that Hunter shot at Nov. 1, attended the hearing but didn’t make any statements.

In April, the 14-year-old shooter from the Nov. 12 incident was ordered to spend what could amount to more than a decade at the MacLaren Youth Correctional Facility in Woodburn. It's unclear how much time he'll actually spend there: He could be released at any time but must be freed by his 25th birthday.

The Oregonian/OregonLive isn’t naming him because of his age.

-- Aimee Green

agreen@oregonian.com

o_aimee