A viral CCTV footage has captured moments a suspected robber was shot in the head as he attempted to rob a vehicle.

From the video, the robbers who are believed to have trailed the driver crossed him as he slowed down midway through his journey.

The identities of both the driver and the suspect are currently unknown.

The footage shows the robber clad in a black outfit jumped off the motor and headed straight to their target’s white saloon car.

His accomplice, on the other hand, waited for him on the bike as he embarked on the operation.

However, the driver who, unknown to the robber was armed, shot at him, causing him to slump to the ground.

As the operation backfired, following the shooting, his accomplice fled the scene, leaving him to his fate.

Watch the video below: