Mark Cavendish has won a silver medal in the men’s omnium event – but it wasn’t without controversy.

Going into the final sprint, he was in second place in the event.

Just finished my last training session before racing starts tomorrow for me. Now to try and make the work pay off.

— Mark Cavendish (@MarkCavendish) August 13, 2016

Cavendish hadn’t won an individual Olympic medal before the omnium, despite some incredible career achievements.

There's just one thing missing from Mark Cavendish's CV…
He's back in action at 21:23

— BBC Sport (@BBCSport) August 15, 2016

However Cavendish seemed to cause a crash in which Italy’s Elia Viviani, who was in pole position, was knocked to the floor.

All weather tactics from Cavendish

— David H (@GoneGlenntal) August 15, 2016

Cavendish lad 😂😂

— Alex Harrison (@albo13harrison) August 15, 2016

Cavendish never went for the ball there, straight for the man. Red card!

— Michael B (@84_mb) August 15, 2016

The BBC commentator said the crash was Cavendish’s fault, but it wasn’t intentional.

Many people weren’t so kind to Cavendish though.

Mark Cavendish. #omnium

— geo (@geometric) August 15, 2016

Shocking from Cavendish, where's your sportsmanship? Should be disqualified, I'd be ashamed to win a medal after that

— Nick (@arsenal409) August 15, 2016

Hold up. I'm still rooting for Cavendish but is it really acceptable to ride into other people, take out 3 cyclists, and not be penalised?

— Michelle Robinson (@mrobinson86) August 15, 2016

Surely Cavendish has to pay a penalty for that earlier move? #cyclingtrack #omnium #rio2016

— Lawrence (@BywaterLawrence) August 15, 2016

South Korea’s Sanghoon Park was seen on a stretcher as a result of the crash.

Worrying scenes at the velodrome. Awful to see a cyclist stretchered off on a trolley after nasty crash.

— AlisonMitchell (@AlisonMitchell) August 15, 2016

It was a stressful event, but in the end, Cavendish got the silver.

Viviani got the gold, which was remarkable considering his crash.

He's done it!
After all those years of hurt, Mark Cavendish finally gets an Olympic medal.

— BBC Sport (@BBCSport) August 15, 2016

Get well soon to anyone who was hurt.