The incident happened in San Diego on Thursday. The police officer was hit four times. The officer was saved by his bullet proof vest.
Officers with guns drawn walked in gridlocked traffic, as they scoured the area for the shooter.
The gunman ran into a nearby canyon, trying to escape. But he was soon caught by a swarm of officers who responded to the scene.