The senator was addressing a rally in Bogota when a gunman shot him thrice before being detained

A prominent Colombian right-wing presidential candidate is in critical condition after being shot three times during a campaign event in Bogota on Saturday, authorities said.

Thirty-nine-year-old Senator Miguel Uribe was speaking to supporters in the capital when a gunman shot him twice in the head and once in the knee before being detained.

Images from the scene showed Uribe slumped against the bonnet of a white car, smeared with blood, as a group of men tried to hold him and stop the bleeding.

A security guard managed to detain the suspected attacker, a minor who is believed to be 15 years old.