A motorist who struck and killed a pedestrian, left the scene and then tried to repair the damage to his vehicle pleaded no contest Tuesday to hit-and-run causing death or permanent injury.

Gustavo Alvarez-Solis entered the plea during a status conference at Kern County Superior Court, and sentencing is scheduled for Jan. 10, according to court records.

Alvarez-Solis hit 30-year-old Brandon Weaver on the evening of March 5 as Weaver was walking east on 24th Street between Oak and Elm streets, Bakersfield police have said. Alvarez-Solis drove home, blotted out signs of impact and threw out the windshield where Weaver hit.

He then took his truck to a repair shop and said gang members had vandalized it, according to police reports. Alvarez-Solis was arrested April 12 when a former employee of the shop called police to relay that a suspicious vehicle was at the business.