The man posted several videos he made on his mobile phone using the live-streaming app Periscope which show his harrowing top-speed driving on roads in Madrid at night, police said in a statement.
In one clip he is seen driving on a ring road that surrounds the Spanish capital at over 195 kilometres (120 miles) per hour in an area where the speed limit is 100 kph, it added.
“Let’s go, 200 without any problem. Let’s go. let’s go,” he can be heard saying in the video as his car quickly approaches another vehicle.
Police arrested the man in Rivas-Vaciamadrid located just southeast of Madrid after receiving several complaints from people who had seen the videos.
Authorities said he was charged with dangerous driving, but did not release the date of his arrest.
“Besides the danger posed by driving while using his mobile telephone in videos that lasted over 16 minutes, the detainee performed manuevers at high speed that forced other drivers to switch lanes to avoid collisions on at least four occasions,” the statement said.
The authorities said it is the first time that someone has been arrested in Spain for a crime involving Periscope, which allows anyone to live-stream an event through their mobile phones.
Viewers of Periscope videos can participate by sending cartoon hearts across the video feed and typing comments which scroll across the screen for all to see.