Two white students at the University of Connecticut were arrested for shouting racial slurs as they walked through a parking lot outside student apartments earlier this month, a report said.

The suspects, 21-year-old students Jarred Karal and Ryan Mucaj, were arrested by campus police Monday after they were captured on a viral video repeatedly shouting the N-word, the Hartford Courant reported.

Students launched large rallies in protest of the video, and the campus chapter of the NAACP demanded school officials take action against the pair, according to the report.

The arrests of Karal and Mucaj were announced hours after a “march against racism” at the campus, local television station WFSB reported.

Karal and Mucaj were each charged with ridicule on account of creed, religion, color, denomination, nationality or race, the Courant reported, citing a university spokesperson.

Police who investigated the case discovered the two students walked home through the apartment complex on Oct. 11, playing a game in which they yelled vulgar words, according to the report.

A third student who was with the pair did not participate in the game and was not charged.