One student has been expelled and three others are being punished for their roles in a racially charged uproar on a Virginia college campus the night of President Barack Obama’s re-election, the school said Thursday.

They were among approximately 40 students who gathered outside the Minority Student Union at Hampden-Sydney College on the night of Nov. 6 within minutes after Obama won a second term.

Some shouted racial slurs, tossed bottles, set off fireworks and threatened physical violence. No one was injured inside the house, and some left the building to peacefully confront the crowd, as did other students.

The four were found guilty by a student court of violating the college’s student code of conduct, the school said in a statement released to The Associated Press. Hampden-Sydney spokesman Thomas H. Shomo said the students are not being identified, and that college administrators never comment on student court verdicts.

Chris Howard, the all-male school’s first African-American president, condemned the students’ actions as a “harmful, senseless episode” in an email to parents after the incident. “There is no place for bigotry or racism on this campus,” he wrote.

The expelled student was found guilty of disruptive and lewd behavior and harassment. The other three were found guilty of violating the code of student conduct. They included lewd behavior, hazardous acts and fireworks violations. The college did not elaborate on the charges.

Each was put on probation and ordered to do community service ranging from 25 to 100 hours.

The racially tinged uproar after Obama’s re-election was among two on U.S. campuses. A protest at the University of Mississippi in Oxford involved about 400 people, some of whom shouted racial slurs. Two people were arrested.

The night after the Hampden-Sydney problems, nearly 300 members of the campus community gathered to discuss what had happened. Many spoke out against the actions of the students outside the union, Howard said.