A 19-year-old apparently motivated by nothing more than teenage machismo when he fatally shot a 20-year-old stranger in the head in Northeast Portland was sentenced Monday to 18 years in prison.

Moments before the shooting, defendant Austin Luepke was sitting on the porch of a Northeast Portland home during a late-night party when he saw Esteban Del Cid walk up to the front of the home but leave without going inside, investigators said.

Del Cid and four companions got into their car and pulled up to a nearby stop sign when Luepke walked up to them and asked what their problem was, said prosecutor Jeff Auxier. Before then, the two had never spoken, investigators said.

The encounter was caught on video by a back-seat passenger in the car Del Cid was driving.

“Hey, I hope you don’t got a problem, dog?” Luepke can be heard saying, according to Auxier. Someone in the car responded: “What do you mean, do you all have a problem?”

Luepke then fired off about six bullets, Auxier said. One apparently ricocheted off a side-view mirror before hitting Del Cid in the head.

The car had been stopped at the intersection of Northeast Cook Street and Rodney Avenue. It was about 3 a.m. on Feb. 28, 2015.

Immediately after the shooting, Del Cid's friends tried to drive him to Legacy Emanuel Medical Center a few blocks away. But they got lost and called 911 for help. Del Cid died later that day.

Investigators say the shooting wasn't motivated by drugs or gang ties, and Luepke didn’t have a criminal history.

Neither did his friend, 19-year-old Timothy Jacob Noe, who gave him the gun to carry hours earlier. Noe, now 22, was sentenced last May to three years of probation for hindering prosecution by hiding the gun after the shooting, according to the prosecution.

Austin Luepke sentenced to 18 years for killing Esteban Del Cid 6 Gallery: Austin Luepke sentenced to 18 years for killing Esteban Del Cid

Luepke and his friends had driven from their homes in Vancouver to attend the party. Del Cid and his friends had driven from Tualatin.

Luepke, now 21, pleaded guilty in March in Multnomah County Circuit Court to first-degree manslaughter and unlawful use of a firearm. With time off for good behavior in prison, he will serve a minimum of 16 1/3 years.

At Luepke's sentencing hearing, Benjamin Del Cid stood up at a courtroom podium and described his brother’s death as “senseless.”

“May you never know what it feels like to lose a brother,” he said. “May you never know what it’s like to lose a son. ... May you never know what it’s like to lose your closest friend -- the only other person who knew all of your secrets.”

Teresa Cruz, the mother of the victim, said she can’t forgive Luepke, but she also doesn’t hate him.

“My hatred is worth too much to spend on him,” Cruz said, through a Spanish interpreter.

“My soul is destroyed,” Cruz said through her tears. “I had two sons and now I only have one left.”

Luepke declined to make a statement at the hearing.

Luepke originally was charged with murder, and Oregon law calls for a life prison sentence with a minimum of 25 years for a defendant convicted of that crime.

But Auxier said the case wasn’t clear cut because the identity of the shooter could have been a challenge to prove at trial. Luepke was one in a group of four friends at the scene. The video of the shooting was taken in the dark, and the shooter isn’t clearly identifiable, he said. Police also weren’t able to recover the gun.

-- Aimee Green