Police in Ibiza are investigating a brutal attack on a British tourist after he staged a prank by pretending to be asleep in the middle of the road.

Several videos of the attack at 8.30pm on Tuesday night have now come to light on social media and are being studied by the Civil Guard.

The attack happened in the popular resort of Cala de Bou and started when the unidentified Brit wearing just shorts and a pink T-shirt decided to lie down in the middle of the road with his hands behind his head.

Stunned onlookers outside a local supermarket looked on as cars built up in a 13-strong queue and pedestrians lined the street to see the action unfold, many capturing the scene on their mobile phones.

Despite being shouted at by drivers who sounded their horns, the British tourist did not move and some of the people caught up in the queue started to shout insults.

At one stage, a motorcyclist approaches the man, drives around him, makes a rude gesture and tells him to get up and move.

The Brit was filmed lying in the middle of a busy Ibiza street. Police said they believe he had been drinking

Motorists sound their horns and become increasingly angry at the man who refuses to move in an apparent prank

Witnesses have told the police that 'within a matter of seconds', at least six people surrounded the Brit and started to drag him out of the road before kicking and punching him.

It has been reported that one of the attackers used a stick and another one is said to have carried a razor blade. One man in a black jumper is seen hitting him several times in quick succession and the use of a stick is also clear.

After receiving dozens of blows, the British man manages to get up and stagger to the pavement.

Looking stunned, he takes his T-shirt off and appears to be arguing with one of the car drivers.

A group of men, thought to be locals, swarm the tourist, beating him with what appears to be a stick. Police also report a man wielding a knife was present

The group beats the man before he is able to run across the street to safety as bystanders watch from both ends of the street

He was later found by the police who said he appeared to have been drinking.

The man is said to have refused to go to hospital although he did receive medical treatment at the scene from emergency doctors.

He declined to file a complaint against his attackers.

The Civil Guard is seeking two men who were travelling in a BMW as they may have tried to stab the Brit.

Local residents say they don't know which is worse. Another apparently drunken tourist or angry motorists who resort to violence.