OAKLAND (CBS SF) – A San Leandro man was sentenced on Friday to 50 years to life in state prison for fatally shooting of 14-year-old Davon Ellis, a star student-athlete at Oakland Tech, in 2015 and shooting at a Hayward police officer a few hours later.

Ronald Higgins, 32, pleaded no contest on July 23 to first-degree murder for fatally shooting Ellis as he walked with two of his friends in the 3300 block of Brookdale Avenue at 7:50 p.m. on Feb. 28, 2015.

READ MORE: UPDATE: 2-Alarm Fire Erupts At San Francisco Residential Hotel; One Resident Injured; Blaze Contained

Ronald Higgins (Alameda County Sheriff’s Office)

Ellis was struck by the gunfire and taken to a hospital where he died, police said.

Higgins also pleaded no contest to willful, deliberate and premeditated attempted murder for shooting at Hayward police Officer Keith Mizuhara near Winton Avenue and Soto Road in Hayward shortly before 2 a.m. on March 1, 2015.

Officers had tried to stop Higgins because they thought the car he was in might have been connected to a shooting that occurred elsewhere in Hayward a few hours earlier.

READ MORE: Albany Business District Sees Renewed Signs of Life as COVID Reopening Nears

WATCH: CBSN Bay Area – 24/7 Digital News Channel from KPIX 5

14-year-old Davon Ellis of Oakland was fatally shot on February 28, 2015. (GoFundMe)

14-year-old Davon Ellis of Oakland was fatally shot on February 28, 2015. (GoFundMe)

Higgins ultimately was charged with multiple attempted murder counts for the earlier shooting in Hayward but those counts were dismissed when he entered his no contest plea to the two major counts against him, which were the murder and premeditated attempted murder charges.

A crowd estimated at more than 1,000 people attended Ellis’ service at the Acts Full Gospel Church in East Oakland a few weeks after he was killed.

MORE NEWS: Pandemic Provided Novato Shop Owner Lessons in Business and Life

© Copyright 2019 CBS Broadcasting Inc. and Bay City News Service. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.