Alt-right provocateur Milo Yiannopoulos — who lost a $250,000 book deal and two jobs in the span of a week last month — took another hit Tuesday when he was defeated by a landslide in an election for a major position at a prestigious university in the UK.

The 32-year-old came in fourth place, taking just 533 of the 8,210 student votes for the role of rector at Glasgow University, according to the Huffington Post UK.

He had been up against 12 other nominees, including Scottish judge Lady Hazel Cosgrove, who came in second, and human rights lawyer Aamer Anwar, who was the winner.

“It’s a tremendous result,” Anwar said in a statement to the BBC. “For me, it just encompasses the fact that students at Glasgow University do care. They’ve sent a message of unity against hatred and bigotry. They want their voices to be heard — they’ve fought for far too long and have been ignored.”

In a blog post earlier this month, the Glasgow graduate took aim at Yiannopoulos and noted his long list of controversies — including how he pledged to outlaw the university’s Muslim Students Association if he were to be elected, in an attempt to “protect” LGBT students on campus.

“Milo Yiannopoulos is a vicious troll, who has built a lucrative career by playing the victim under the guise of being a free speech advocate,” Anwar wrote. “This is a man who refers to Donald Trump as ‘Daddy,’ said gay rights were a detriment to humanity, claims to ‘like black guys for his love life,’ believes that ‘Women’s liberation was probably a mistake’ blaming the pill and the washing machine for this. So it’s not hard to see how this university dropout became such a darling of ‘Alt-Right’ or why his decision to accept nomination for the election of rector at Glasgow University has caused much anger.”

While the role of rector is one that doesn’t actually come with any real power, those who are elected are typically invited to important school meetings — where they are expected to represent the views of the student body.

Anwar will be taking over for CIA whistleblower Edward Snowden, who has served in the position for the past three years — despite not even being allowed in the UK.

During the campaign, more than 3,500 people signed a petition demanding that Yiannopoulos be removed from the ballot, saying they were “disgusted” by his tendency to spread “hate and violence.”

It’s been a rough month-and-a-half for the former Breitbart editor after damaging video footage emerged online, in which he glamorized the idea of men having sex with underage boys.

“We get hung up on this sort of child abuse stuff, to the point where we are policing consensual adults,” he said in one of the tapes. “In the homosexual world, particularly, some of those relationships between younger boys and older men — the sort of ‘coming of age’ relationship — those relationships in which those older men help those young boys discover who they are and give them security and safety, and provide them with love, and a reliable, sort of rock, where they can’t speak to their parents.”

Not only was Yiannopoulos forced to resign from the far-right news outlet as a result of his comments, he also lost a lucrative book deal with Simon & Schuster and a speaking position at the Conservative Political Action Conference.

He later claimed in a Facebook post that the clips of him were “selectively edited” — adding, “I do not support pedophilia. Period.”