Representational image of an inmate standing with handcuffs at San Quentin State Prison's death row in San Quentin, California, Aug. 15, 2016. Justin Sullivan/Getty Images

Police departments in the University of California (UCLA) on Thursday arrested man on suspicion of exposing himself and masturbating in front of students several times over the past few months.

Anton Floyd, 40, allegedly exposed himself and masturbated in front of female UCLA students in at least five separate incidents between Aug. 30 and Oct. 30 near the university.

UCLA Police Lt. Kevin Kilgore said in each of the incidents, the man was seen masturbating in his car after asking to speak to a girl walking in the area. Thought the incidents took place outside campus, all the targeted girls were UCLA students, CW-affiliated television station KTLA reported.

Each time, he was seen in different vehicles including a silver 2016-18 Volkswagen Passat, a silver extended-cab pickup truck, possibly a GMC or Chevrolet, a red four-door sedan and a gray BMW, ABC 7 reported.

Police released a sketch of the suspect Tuesday and sought the public’s help in finding him. They described him as a black man, between 20 and 35 years old, clean-shaven with no hair or short black hair and typically wears T-shirts and sweatpants or shorts.

Floyd was charged with six counts of indecent exposure and one probation violation and was arrested near Van Nuys Boulevard and Calvert Street on Thursday. He was held at Los Angeles County Jail on $70,000 bail.

The UCLA police are continuing their investigation.

In a similar incident in May, a Massachusetts elementary school teacher was arrested after he was accused of indecently exposing himself to a minor in a Walmart bathroom.

Jared Anzelone, 40, reportedly bent down to expose himself to an unidentified boy in an adjacent cubicle after masturbating in a bathroom stall. The juvenile then reported the incident to the assistant store manager of Walmart who then alerted the police. The cops obtained the suspects’ photo from a surveillance footage that showed him leaving the store, and uploaded on their website with a message asking the public's help to identify the man.

A number of teachers stepped forward to identify the man in the photo. He was then taken into custody and charged with open and gross lewdness, indecent exposure; accost/annoy another person and lewd, wanton and lascivious conduct.

"A faculty member was arrested and charged with actions that are unbecoming of a teacher today in Bellingham, Massachusetts. These accusations and charges are very concerning. Our number one priority is the safety and well-being of the students in our care,” Milford schools Superintendent Kevin McIntyre said.