According to the Torrance Police Department, officers were investigating reports of vandalism when they encountered a suspect with a knife, which led to the shooting.
The suspect was able to flee the scene.
A perimeter was set up in the area near Prairie and 190th street. The officer involved in the shooting was not injured, authorities said.
Police urged residents to avoid the area as the search continued into the afternoon hours. Shortly after 5 p.m., authorities found the armed suspect and took the person into custody.
The suspect was taken to a local hospital to be treated for a gunshot wound he suffered in the shooting.
The perimeter was broken down and the streets were reopened.
The investigation is ongoing.
Anyone with more information is urged to call the Torrance Police Department at (310) 328-3456.