A 17-year-old teen punched Spanish Prime Minister Mariano Rajoy hard in the head on Wednesday evening after managing to get next to him at a campaign appearance.

The attacker, who has yet to be identified, was standing next to Rajoy on a street in the city of Pontevedra in the Galicia region while he talked to a crowd, then pulled his arm back and delivered a punishing left hook to Rajoy’s left check.

Video on Spanish TV showed Rajoy falling toward the ground from the impact but being propped up by others around him.

The attacker was quickly detained by security guards and then taken in handcuffs from a building.  Video showed him raising his hands and thumbs into the air in an apparent victory sign.

Following the incident, Rajoy’s face was bruised in photos of him after the attack but he did not appear to be seriously injured, though Spanish media said his glasses were knocked to the ground and crushed.

Mariano Rajoy, leader of the country's right-wing Popular Party, was hit by the 17-year-old during a walkabout in the Galician city of Pontevedra ahead of general elections on Sunday Read more: http://www.dailymail.co.uk/news/article-3363312/Shocking-moment-Spanish-Prime-Minister-punched-face-teenager-told-security-wanted-selfie-ahead-Sunday-s-general-election.html#ixzz3uXPBAWhN Follow us: @MailOnline on Twitter | DailyMail on Facebook

Mariano Rajoy, leader of the country’s right-wing Popular Party, was hit by the 17-year-old during a walkabout in the Galician city of Pontevedra ahead of general elections on Sunday
Read more: http://www.dailymail.co.uk/news/article-3363312/Shocking-moment-Spanish-Prime-Minister-punched-face-teenager-told-security-wanted-selfie-ahead-Sunday-s-general-election.html#ixzz3uXPBAWhN
Follow us: @MailOnline on Twitter | DailyMail on Facebook

Later in the day Rajoy was photographed smiling at a campaign appearance in the nearby city of A Coruna.

Development Minister Ana Pastor confirmed the assault in a tweet, telling Rajoy she had no words “to express my indignation for the aggression you suffered on the streets of Pontevedra”.

According to reports, polls say the Popular Party will win in Sunday’s general election but won’t regain the majority it has in parliament following years of unpopular austerity cuts hitting cherished national health care and public education plus tax hikes Rajoy promised he would not impose before his party’s landslide 2011 victory.

Leaders of opposition parties trying to remove Rajoy from power, condemned the assault.

Mariano Rajoy punch video