Milo Yiannopoulos just can’t catch a break lately.

The former Breitbart editor lost a student election to become the University of Glasgow’s rector in a landslide defeat to Pakistani-Scottish human rights lawyer Aamer Anwar.

The alt-right journalist took just 533 of the 8,210 student votes, according to the Glasgow Guardian.

Also Read: Could Milo Be Deported? An Immigration Attorney Explains (Guest Blog)

Yiannopoulos, 32, had been campaigning for the honorary role that represents the entire student body and was up against 12 other nominees, including Scottish judge Lady Hazel Cosgrove.

Anwar will now take over as rector from intelligence whistleblower Edward Snowden, who has served three years in the role, the BBC reported.

Also Read: Milo Yiannopoulos Resigns From Breitbart News

Earlier this month, a petition was launched against Yiannopoulos demanding that he be removed from the ballot for spreading a message of “hate and violence.”

“Glasgow, both University and city, has never condoned fascism and hate against women and minorities. This is not us,” one protester wrote.

Also Read: Jenna Jameson Compares Muslims to KKK, Defends Milo Yiannopoulos in Twitter Tirade

The defeat tops off a rough few months for the polarizing Yiannopoulos, who resigned from his position at Breitbart and lost a $250,000 Simon & Schuster book deal after making comments about both Muslims and child abuse.

Born in Kent, England, Yiannopoulos attended the University of Manchester and Cambridge University’s Wolfson College, but he dropped out of both before earning a degree.

1st – Aamer Anwar 4458 votes, 2nd – Lady Hazel Cosgrove 1409 votes, 3rd – Vince Cable 535 votes, 4th – Milo Yiannopoulos 533 votes. — The Glasgow Guardian (@GlasgowGuardian) March 21, 2017