His comments caused outrage demanding that he be fired and calling for a boycott of a restaurant he owns

'BLM is the biggest racist organization since the klan,' Muir wrote

Muir felt reacted on Facebook to a recent visit to Charlottesville by Black Lives Matter co-founder Alicia Garza

Douglas Muir is an adjunct professor at the University of Virginia's Engineering School

A University of Virginia professor has taken a leave of absence from the school after he came under scathing attack over the weekend for likening the Black Lives Matter movement to the Ku Klux Klan.

Douglas Muir, who teaches at the school, commented on Facebook that he believed that Black Lives Matter was the 'biggest' racist organization since the KKK.

Muir, who lectures at UVA's Engineering School and who also owns a restaurant in the area, was responding to a Facebook post that included a photograph of a recent appearance by BLM co-founder Alicia Garza in Charlottesville, the campus newspaper Cavalier Daily reported.

'Black lives matter is the biggest rasist organisation [sic] since the clan [sic],' Muir commented on a post by local realtor Roger Voisinet.

Muir denounced Black Lives Matter as being 'the biggest' racist organization to appear on the scene since the Ku Klux Klan

'Are you kidding me. Disgusting!!!' he wrote.

Garza was speaking at an event in the nearby Paramount Theater. The headline of the evening was 'Rooting Out Injustice: Poverty, Race and the Role of Legal Aid.'

The fallout from Muir's comments compelled him to delete the comment. The university released statements indicating that it was distancing itself from the professor.

'A recent comment regarding the Black Lives Matter movement, posted on social media by Doug Muir, a lecturer in our school, has raised serious concerns about UVA Engineering's commitment to diversity, inclusion and support of populations that are traditionally underrepresented in science, technology, engineering and mathematics,' UVA's Engineering School said in a statement.

Last week, Muir responded to a Facebook post by a local real estate agent who attended a lecture by Black Lives Matter co-founder Alicia Garza

Since the post gained public attention, there have been calls for the university to fire Muir, while the mayor has urged people to boycott his restaurant

'While free speech and open discussion are fundamental principles of our nation and the University, Mr. Muir's comment was entirely inappropriate. UVA Engineering does not condone actions that undermine our values, dedication to diversity and educational mission.'

'Our faculty and staff are responsible for upholding our values and demonstrating them to students and the community. Mr Muir has agreed to take leave and is preparing his own statement to the community.'

Critics, though, want more punitive actions. The mayor of Charlottesville, Wes Bellamy, even called on the public to boycott Muir's restaurant.

Bella's Restaurant is an Italian eatery that Muir co-owns with his wife, Valeria Bisenti.

'Ms. Bisenti, with the assistance of her husband Douglas Muir, wanted to create an atmosphere where the customer always knows they will get the best of everything, just like at Mama’s house in Rome, according to Bella's website.

Bella's Restaurant is an establishment in Charlottesville owned by Muir. The mayor has called on locals to boycott the restaurant in response to his Facebook post

The mayor of Charlottesville, Wes Bellamy, posted a lengthy statement on his Instagram account in response to Muir's comment

'The notion that #BlackLivesMatter can be comparable to the Ku Klux Klan is not only incredibly misguided, but goes to show the lack of cultural awareness that still plagues many professors at our Universities across the country,' the mayor wrote on his Instagram account.

Bellamy defended Black Lives Matter as a movement that seeks to 'address systemic oppression and racism'.

The NAACP is calling on the university to dismiss the professor.

Black Lives Matter has gained popularity in the wake of a string of police-involved shootings of African Americans. Here marchers protest in London on August 5, 2016

'Not only should they drop his class, the university should get rid of him, if they can,' an NAACP representative, Rick Turner, told WVIR-TV. 'They should not allow him to stand in front of students again.'