A former professor at Cal Poly, San Luis Obispo has been charged by the District Attorney’s Office with misdemeanor indecent exposure after he allegedly showed his genitals in the university library last May.

Shaun Kelly’s case was in San Luis Obispo County Superior Court Wednesday for a trial setting conference, at which time the matter was continued to Jan. 30, said Chief Deputy District Attorney Jerret Gran. Kelly remains out of custody.

Kelly was an assistant professor in the Cal Poly BioResource and Agricultural Engineering Department, according to his listing on the career networking Internet site Linked In.

Cal Poly’s website lists Kelly in its faculty and staff directory in that department, as well.

Ellen Cohune, director of communications for the College of Agriculture, Food and Environmental Sciences at Cal Poly, said Wednesday that Kelly was no longer employed by the university. She did not provide any additional information.

George Hughes, chief of police for Cal Poly, said university police were called to the campus library around 3:30 p.m. May 27 for a report of an indecent exposure.

Sign up to receive headlines in your inbox!

Breaking News | Local Sports | Daily Headlines | Local Obituaries | Weather | Local Offers

Police interviewed witnesses at the library, and determined Kelly was the one who was improperly exposing himself, Hughes said. The professor was exposing his genitals and passers-by saw, he added.

Officers interviewed Kelly, and forwarded the case to the District Attorney’s Office to determine if charges should be pursued, the chief continued.

Police did not arrest Kelly, Hughes said.

“We were unsure if we had enough probable cause to make an arrest,” he explained.

Ultimately, prosecutors determined there was sufficient evidence to charge Kelly.