A MAN has been charged with allegedly exposing himself and performing a solo sex act inside the University of Glasgow.

Police officers were called to the campus library after staff raised the alarm on Sunday afternoon.

The suspect is now set to appear in court.

A Police Scotland spokesperson said: “A 26-year-old man was arrested and charged following a report of someone performing an indecent act on themselves at a premises on Hillhead Street in Glasgow on October 20."

One source told the Glasgow Times that the alleged incident had shocked staff and students.

READ MORE: Man, 26, charged after death in Kilwinning

They said: “I saw four officers enter the building. People were understandably upset and surprised to see officers on the campus in the first place, but even more so given what is alleged to have taken place."

Meanwhile, the university's feminist society shared resources on social media for students who may be affected.

“We are absolutely disgusted by what has happened, and we can imagine that a lot of people are feeling similarly uncomfortable and anxious," the group said.

“Everybody deserves to feel safe on campus, and hopefully accessing these resources can give you some peace of mind and support if needed."

A Glasgow University spokesperson said: “We can confirm police were called to address an alleged incident on university premises.

“The safety and security of our staff and students is always our number one priority.

“It is rare for members of staff to call the police to anything on campus, however sometimes it is necessary to alert the authorities for the safety of those in our community, or for the wellbeing of those involved in an incident.”

The man is due to appear at Glasgow Sheriff Court.

For anyone wishing to access support, Rape Crisis Scotland offers support to people of all genders living in Scotland aged 13+ who have been affected by sexual violence.

Phone 08088 010 302 or text 07537 410 027, available 5pm to midnight, 7 days a week.