Bogota - Sergio Higuita and his EF Education First team held off the challenge of Egan Bernal on Sunday and swept the final podium places in the Tour Colombia.
Daniel Martinez of EF won the mountainous 182.6 kilometre stage from Zipaquira to a mountaintop finish on El Verjon on the outskirts of Bogota in 4 hours 24 minutes and 9 seconds.
Higuita, who started the day in the leader's orange jersey, was second in the same time.
Tour de France champion Bernal was third, three seconds back.
The 22-year-old Higuita also beat Bernal to win the Colombian road title at the start of February.
"I'm really very happy because this is the first general classification I've ever won in my life," Higuita, who is known as 'the Beetle' told ESPN.
Martinez, Colombia's national time trial champion, was second overall, with Ecuadorian Jonathan Caicedo in third.
Bernal finished fourth overall, 55 seconds behind the winner.
Bernal and the Ecuadorian Giro winner Richard Carapaz tried to escape on the final climb but Higuita clung to their wheels before attacking with Martinez.
Rigoberto Uran, the theoretical EF team leader, finished the race, his first since he broke ribs and a shoulder blade and suffered a punctured lung in a crash on the sixth stage of the Vuelta a Espana in August.
Results from the 182.6km sixth and final stage of the Tour Colombia from Zipaquira to Alto El Verjon on Sunday:
1. Daniel Martinez (COL) EF Pro Cycling 4hrs 24 min 9sec 2. Sergio Higuita (COL) EF Pro Cycling s.t., 3. Egan Bernal (COL) Team Ineos at 3sec, 4. Miguel Florez (COL) Androni Giocattoli 9, 5. Jonathan Caicedo (ECU) EF Pro Cycling 14, 6. Robinson Chalapud (COL) Team Medellin 52, 7. Hernan Aguirre (COL)Colombia Tierra de Atletas GW 1min 8sec, 8. Diego Camrgo (COL) Colombia Tierra de Atletas GW 1:16, 9. Fredy Montana (COL) EPM Scott s.t., 10.Esteban Chaves (COL) Colombia National Team s.t.
1. Sergio Higuita (COL) EF Pro Cycling 19h55:50, 2. Daniel Martinez (COL) EF Pro Cycling at 8sec, 3. Jonathan Caicedo (ECU) EF Pro Cycling 34, 4. Egan Bernal (COL) Ineos 0:55, 5. Miguel Florez (COL) Androni Giocattoli 2min 1sec, 6. Fredy Montana (COL) EPM-Scott 2:36, 7. Esteban Chaves (COL) Colombia National Team 3:09, 8. Hernan Aguirre (COL) Colombia Land of Athletes GW 3:15, 9. Torstein Traen (NOR) Uno X Norwegian 3:19, 10. Sergio Luis Henao (COL) Ineos 3:22