Ireland’s Sam Bennett has won the fifth stage of the Tour of Britain in a sprint finish in Caerphilly.

The An Post-Chain Reaction rider outsprinted Michal Golas (Omega Pharma-Quickstep) and Martin Elmiger (IAM Cycling) after a group of riders pulled clear on the second climb of the category one mountain in Wales.

Ian Stannard (Team Sky) led team-mate and gold jersey holder Bradley Wiggins and, by keeping the group together, successfully helped preserve the four-time Olympic gold medalist's 37-second lead.

Stannard is second in the general classification and leads Switzerland's Elmiger by six seconds.

Bennett's compatriot Dan Martin (Garmin-Sharp) is in ninth in the overall standings, one minute 38 seconds behind Wiggins after a 14th place finish, while the stage winner is up to 39th.

Bennett - a protege of Sean Kelly - complete the 177km ride from Machynlleth to Caerphilly in four hours 35 minutes 28 seconds.

The 22-year-old, who was beaten to the line by Gerald Ciolek (MTN-Qhubeka) in Kendal on stage two, launched an attack from the middle of the group on Caerphilly Mountain having already conquered Cwm Owen and the Brecon Beacons.

After clinching his first career stage victory the Belgium-born rider told "It was a real hard fight coming into the finish but I knew if I hung on up the climb that I would recuperate quick enough for the sprint and I just hung in.

"It was a bit of a gamble going into the last corner - I went a bit wide - but I had enough acceleration to take the win."

Nairo Quintana (Movistar) and Martin were particularly aggressive over the Welsh hills, building on an early break from Pete Williams (IG Sigma Sport), Stefano Pirazzi (Bardiani-Valvole), Jacob Rathe (Garmin-Sharp) and Angel Madrazo (Movistar).

Spain's Madrazo would retain the King of the Mountains jersey while securing his place at the top of the sprints classification.

Pressure from Team Sky duo Mat Hayman and Stannard saw the breakaway quartet caught with 14km remaining - Williams dropping away first - but Quintana and Martin continued to try their luck alongside Elmiger.

The incessant fast climbing ultimately scuppered Bennett's challengers, though, and he punched into the final bend with 200m remaining to take the win from Golas.