A San Ramon Valley High School student was arrested and charged with invasion of privacy after she reportedly filmed a classmate urinating in a bathroom stall and posted the video on social media.

Police officers received a complaint in late April and “determined a crime had been committed,” said Danville police spokesman Geoff Gillette. The case is now in the hands of Contra Costa County prosecutors and the juvenile court system, he said.