A robbery in Diego Martin on Thursday was prevented by the swift actions of a security guard.

The incident, however, led to the injury of a 26-year-old man who was shot.

According to reports, around midday on Thursday, the guard and a driver were in a delivery truck which was along Hillaire Street, Diego Martin, when they were approached by an armed assailant.

The man pointed a firearm at the driver and announced a hold-up.

While the driver was complying with the demands, the guard saw an opportunity to act and seized it. He drew his licensed firearm and shot at the would-be robber, hitting him in the arms and legs.

The assailant dropped his weapon and fell to the floor.

The police were notified and officers from the West End Police Station responded.

The injured man was taken for treatment at the St James infirmary.

A revolver was seized from the scene of the shooting, police said.

More on this as it becomes available.