Logan Beaschler, 18, of Bakersfield, is one of three students charged with misdemeanor hate crime and battery, according to the Santa Clara County District Attorney's Office.
Beaschler, 19-year-old Joseph Bomgardner, of Clovis, and 18-year-old Colin Warren, of Woodacre, are accused of hanging a Confederate flag inside their shared on-campus housing. They're also accused of writing a racial epithet on a white board, decorating with Nazi symbols, calling the black roommate slavery-inspired nicknames, "Three-Fifths" and "Fraction," and trying to clamp a bike lock around their roommate's neck.
The nicknames were meant to refer to a Colonial government formula that counted slaves as "three-fifths of all other persons," the district attorney's office said.
The abuse lasted from August through October, according to prosecutors.
"We are all victimized when a criminal act targets someone because of their actual or perceived race, color, religion, ancestry, national origin, sexual orientation, gender or disability," prosecutor Erin West said in a news release.
If convicted, the students face a maximum of a year in county jail.
University police are also investigating, the district attorney's office said. The Associated Press reported university spokeswoman Pat Lopes Harris as saying the incident is still under investigation. No decision has been made on whether the students will be sanctioned, according to the AP.