Mountain-bikers and GoPro cameras go together like pizza and beer. And while the small, high-definition cameras usually record shaky videos of cyclists traversing through tough terrain, one South African man was able to capture a trio of thieves rob him at gunpoint.

According to eNews Channel Africa, Malcom Fox was cycling on a trail in Cape Town over the weekend when an armed man ran towards him and ordered him off his bike. Two others came to assist the armed man and the thieves took the bicycle and Fox’s phone.

The robbers either didn’t notice or didn’t care about the camera mounted on their target’s helmet recording their every move as they demanded the rider’s belongings.

Police reviewed the footage of the robbery and were able to arrest three suspects within days.