Bouygues Telecom rider Voeckler attacked a group of breakaway riders with less than five kilometers to go in the 196.5-km fifth stage from Cap d 'Agde to Perpignan and crossed the line seven seconds ahead of Russian Mikhail Ignatiev .