Britain's Geraint Thomas broke away to victory in stage two of the Tour of the Algarve and took the overall race lead.
Team Sky rider Thomas won the 197km run from Lagoa to Monchique by 19 seconds from Estonia's Rein Taaramae, with Valerio Agnoli of Italy third.
The Welshman, who broke clear on the final climb, now has a 30-second lead overall, with Taaramae second and Czech Zdenek Stybar third at 33 seconds.
The five-stage race continues with Friday's 19km individual time-trial.
The cyclists will ride from Vila do Bispo to Cabo de Sao Vicente in Sagres.
Stage Two result
1 Geraint Thomas (GB/Team Sky) 4hrs 59mins 13secs
2 Rein Taaramae (Est/Astana) +19secs
3 Valerio Agnoli (Ita/Astana) +23secs
1 Geraint Thomas (GB/Team Sky) 9hrs 12mins 56secs
2 Rein Taaramae (Est/Astana) +30secs
3 Zdenek Stybar (Cze/Etixx-Quick Step) +33secs