Four lecturers are facing sexual exploitation after being accused of offering students better grades in exchange for sex.
The lecturers at a leading university in Morocco have appeared in court and charged with incitement to debauchery, gender discrimination and violence against women.
The lecturers are from the Hassan I University in the city of Settat, about 80km (50 miles) south of the main city, Casablanca.
A fifth lecturer is facing charges of indecent assault and battery.
The story came to light in September through the leaking on social media of messages that are said to have been between the lecturers and students.
BBC Arab affairs editor Sebastian Usher says the case has caused anger in Morocco but not surprise – a string of such scandals have tarnished the reputation of Moroccan universities in recent years.
This is the latest sexual harassment scandal to hit a Moroccan higher education institution. They have not yet pleaded. However, it is rare for a case to be brought to court.