A law student is under investigation by his university after being branded a 'blatant Islamophobe' for allegedly mocking ISIS on social media.

Robbie Travers, 21, who is a regular commentator on Facebook and Twitter, has allegedly put 'minority students at risk and in a state of panic' at Edinburgh University for his comments which ridiculed the terror group.

Responding to the news the US Air Force bombed an ISIS stronghold in Afghanistan in April, Travers wrote: "I'm glad we could bring these barbarians a step closer to collecting their 72 virgins."

The post, shared on Facebook, sparked a backlash from fellow students, who claimed he breached the student code of conduct and should be reprimanded.

An official at Edinburgh University conducted a preliminary investigation allegedly accusing the third-year student of having committed a " hate crime " - even though there has been no criminal investigation by the police.

But Travers claimed his post was in retaliation for other students who he accused of posting potentially racist comments, according to The Times.

(Image: Facebook)

He acknowledged that his social media comments were highly opinionated but denied they were racist.

Travers wrote on Facebook last night: "Afraid I've been a little more quiet as I have been accused of Islamophobia because I mocked ISIS, and I'm being investigated on such a ground by my University.

"Mocking ISIS allegedly made Islamic and minority students feel 'threatened' and 'unsafe,' so goes the complainant's ramblings.

"Have engaged legal advice to dismiss this nonsense. Wish me luck."

(Image: Facebook)

A university spokesman confirmed to The Times that “complaints alleging misconduct have been received against Mr Travers and these are being investigated”.

He added: “We are committed to providing an environment in which all members of the university community treat each other with dignity and respect and our code of student conduct sets out clear expectations of behaviour.”