Francesco Gavazzi (Astana) won stage three of the Tour of Beijing after catching late attacker Edvald Boasson Hagen (Sky) on the line.
Boasson Hagen looked to have launched a perfectly-timed attack in the final three and a half kilometres, breaking free from the lead group to tackle the final ascent to the finish on his own.
Daniel Martin (Garmin-Sharp) led the chase in the final 500 metres, but Gavazzi came around to scoop the victory ahead of Martin and Boasson Hagen, left banging his bars in disappointment after such a near miss.
Tony Martin (Omega Pharma-QuickStep) retains the overall lead, with Gavazzi in second at 40 seconds and Daniel Martin at 50 seconds.
Friday's penultimate stage runs from Yanqing to Chang Ping. The race concludes on Saturday, drawing to a close the 2012 UCI WorldTour.
Tour of Beijing 2012, stage three: Men Tou Gou to Badaling Great Wall, 162.5km
1. Francesco Gavazzi (Ita) Astana in 4-05-08
2. Daniel Martin (Irl) Garmin-Sharp
3. Edvald Boasson Hagen (Nor) Sky
4. Rinaldo Nocentini (Ita) Ag2r-La Mondiale
5. Rui Costa (Por) Movistar all same time
Overall classification after stage three
1. Tony Martin (Ger) Omega Pharma-QuickStep
2. Francesco Gavazzi (Ita) Astana at 40 secs
3. Daniel Martin (Irl) Garmin-Sharp at 50 secs
4. Edvald Boasson Hagen (Nor) Sky at 52 secs
5. Eros Capecchi (Ita) Liquigas-Cannondale at 52 secs
Tour of Beijing 2012 stage three photo gallery by Graham Watson
Tony Martin takes solo win on stage two of Tour of Beijing
Tour of Beijing 2012 stage two photo gallery by Graham Watson
Stage one: Viviani wins opening stage
Tour of Beijing 2012 stage one photo gallery
Tour of Beijing kicks off with team presentation
Thank you for reading 20 articles this month* Join now for unlimited access
Enjoy your first month for just £1 / $1 / €1
*Read 5 free articles per month without a subscription
Join now for unlimited access
Try first month for just £1 / $1 / €1