UPLAND (CBSLA) — Both sides of the 10 Freeway in Upland remained closed late Friday night after officers shot a man who they said was armed with a knife.

According to the California Highway Patrol, officers were dispatched to the eastbound 10 Freeway at San Antonio Street at about 2:46 p.m. for reports of an adult male causing harm to himself while seated in the passenger side of a vehicle on the 10 Freeway between Mountain and Euclid avenues.

READ MORE: Hollywood Christmas Parade Returns Sunday After Year Off Due To COVID-19

When officers arrived, they found the man had exited the vehicle and had stopped traffic by standing within the center of the median. Police said the man then “rapidly approaching the officer in an aggressive manner, with the knife in his hand.”

READ MORE: Inside SoCal: 11/28 Wrap-Up

According to CHP, the officer gave several verbal commands for the man to drop the knife before opening fire and striking the man who was then taken to a nearby hospital in unknown condition.

The San Bernardino County Sheriff’s Department is investigating the shooting. Anyone with information was asked to call the department at 909-387-3589.

MORE NEWS: Sunday Expected To Be Busiest Travel Day Of Thanksgiving Season At LAX

It was not known when the highway was expected to reopen.