A Rutgers University professor was reportedly taken to a hospital for a psychiatric evaluation after making 'threatening' comments about shooting white people, flag burning and gun control in light of Donald Trump's election.

Kevin Allred - best known for his women and gender's study class 'Politicizing Beyonce' - was at his Brooklyn home when police arrived on Tuesday night.

Police had responded to his home after Rutgers police told NYPD that had Allred made 'threats to kill white people,' according to the New York Daily News.

Scroll down for video

Rutgers University professor Kevin Allred said he was taken to a hospital for a psychiatric evaluation after making 'threatening' comments about flag burning and gun control in light of Donald Trump's election

Allred recounted the whole ordeal on Twitter and said police told him he was a threat 'based on political statements' he made on 'campus and on Twitter'

Officers said they were there after several failed attempts to get in touch with him by Rutgers officials, but Allred told the Daily News he has no record of school officials trying to reach him.

Cops then loaded the adjunct professor into an ambulance and took him to Bellevue Hospital where he spent two hours and underwent an evaluation.

When he was released, he tweeted, calling the ordeal a 's*** show' and said it was part of a crackdown on free speech amid Trump's election.

Rutgers officials said a student had filed a complaint about Allred, but did not elaborate.

'The Rutgers University Police Department responded to a complaint from a student and took all appropriate action,' a Rutgers spokesman told NJ.com.

'We have no further comment.'

Allred tweeted as he was taken from his Brooklyn home by police and to a hospital for a psychiatric evaluation. He later tweeted after his release, saying it was a 'proof positive Trump's crackdown on free speech has absolutely begun'

Allred recounted the whole incident on Twitter and said police told him he was 'a threat based on political statements' he made on 'campus and on Twitter.'

'They've forced me to now undergo a psychiatric evaluation at the hospital,' he tweeted.

'They brought me by ambulance tho i'm not under arrest technically.'

'And this is for exercising my f***ing first amendment rights. i'm being labeled a threat and put in a psych hospital,' he added.

This 'is proof positive that Trump's crackdown on free speech has absolutely begun,' he tweeted.

Allred told the Daily News that during class on Tuesday he had asked students about the presidential election and flag burning as a form of protest.

Allred made headlines for his women and gender's study class 'Feminist Perspectives: Politicizing Beyonce' (pictured)

Cops loaded the adjunct professor into an ambulance and took him to Bellevue Hopsital (file photo above) where he spent two hours and underwent an evaluation

Later on Twitter, he said he asked if conservatives would care as much about the Second Amendment if guns killed more white people.

'In class, we talked about flag burning generally as a form of protest, and what does the flag mean to different people,' Allred told the Daily News.

'Then I made a comment, essentially saying, "Would people feel the same way about being so lenient with the Second Amendment if people went out and got guns to shoot random white people?"'

He had also tweeted asking for the university's response in addressing 'the fears of MANY RU students for their safety in Trump's Amerika (sic)' following the election.

After spending two hours at the hospital, Allred said he was released after doctors agreed he had no 'psychological issues.'

Allred said he was deemed a threat after asking if conservatives would care as much about the Second Amendment if guns killed more white people (shown above)

He said they thought it was 'ridiculous' he had been brought in for an evaluation.

'Even the doctors thought it was ridiculous to take me to a psychiatric hospital and force me into evaluation. it was f***ing intimidation,' he tweeted.

Allred indicated that he was later forced by Twitter to take down the post about the Second Amendment on Wednesday or risk having his account shut down.

He also tweeted that students should participate in a walk-out to protest Trump's election that was set to place on the university's New Brunswick campus.

'Now more than ever it's important to fight back, make your voices heard, push for change in WHATEVER way you can. cuz Trump wants us silent,' he tweeted.

'And the new regime will go to even greater lengths to silence us. Trump has already proved it true before taking office. let's not let him.'

Allred's ordeal comes as students across the country are staging walkouts since Trump's shock victory on November 8, carrying signs with messages like 'spread love,' 'my black is beautiful' and 'make America gay again.'

Rutgers officials said a student had filed a complaint about Allred, but did not elaborate. File photo of the university above

Allred's ordeal comes as students across the country are staging walkouts since Trump's shock victory on November 8, carrying signs with messages like 'spread love,' 'my black is beautiful' and 'make America gay again' (protest on Wednesday at Rutgers shown above)

Students at the University of Chicago participate in a walk-out and rally to protest President-elect Donald Trump on Tuesday

On Wednesday, college students planned rallies and walkouts to call on school administrators to protect students and employees against immigration proceedings under Trump's presidency.

Walkouts were planned at at dozens of schools, including Yale in Connecticut and Rutgers in New Jersey.

Organizers are calling for their schools to become havens for people who may face deportation and rallying supporters on social media with the hashtag #SanctuaryCampus.

Yale student organizer Ramon Garibaldo said the actions are inspired by demonstrations that broke out at high schools around the country last week following the Republican's presidential election victory.