BELMONT (CBS SF) — A California Highway Patrol officer shot a suspect who was allegedly armed with a knife and charging on U.S. Highway 101 in Belmont early Sunday morning, according to a CHP spokesman.

A pedestrian was reported on both sides of Highway 101 at Ralston Avenue a little after 2 a.m., according to Officer Art Montiel.

READ MORE: 3 Teens Accused Of Killing Man, Stealing His Dog & Car In San Francisco On New Year's Eve

Arriving officers tried to take the suspect into custody but he allegedly resisted, prompting officers to use a Taser, which had no effect, Montiel said.

READ MORE: Victim in Fatal East Oakland Hit-and-Run Identified

The suspect produced a knife, held it overhead and charged at the officer, who opened fire. The suspect suffered life-threatening injuries and was transported to a hospital, according to Montiel.

Only one officer was involved in the shooting. No officers were injured.

MORE NEWS: Homeless Parolee Arrested in Petaluma Beauty Supply Store Armed Robbery

© Copyright 2016 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed