Professor Richard Akindele,  a former university professor caught on tape allegedly demanding sex from a female student.
Richard Akindele
Professor Richard Akindele, a former university professor caught on tape allegedly demanding sex from a female student.
Now playing
01:29
'Sex for grades' scandal in Nigeria
A fireball engulfs the Al-Walid building which was destroyed in an Israeli airstrike in Gaza City, early on May 13.
AFP/Getty Images
A fireball engulfs the Al-Walid building which was destroyed in an Israeli airstrike in Gaza City, early on May 13.
Now playing
03:05
Hamas releases new propaganda video amid ongoing violence
Israeli Police
Now playing
01:00
Shocking video shows mob violence in Israel
japan coronavirus olympics Essig DNT intl ldn vpx_00004629.png
CNN
japan coronavirus olympics Essig DNT intl ldn vpx_00004629.png
Now playing
03:18
Japan nears a Covid-19 crisis. The Olympics could tip it over the edge
FILE -  In this March 25, 2021, file photo, a "No Olympics" banner is placed by protesters in Tokyo during a demonstration against the going ahead of the Tokyo 2020 Olympic and Paralympic Games. Some nurses in Japan are incensed at a request from Tokyo Olympic organizers to have 500 of them dispatched to help out with the games. They say they're already near the breaking point dealing with the coronavirus pandemic. A protest message saying that nurses were opposed to holding the Olympic went viral on Japanese Twitter recently, being retweeted hundreds of thousands of times. (AP Photo/Hiro Komae, File)
Hiro Komae/AP
FILE - In this March 25, 2021, file photo, a "No Olympics" banner is placed by protesters in Tokyo during a demonstration against the going ahead of the Tokyo 2020 Olympic and Paralympic Games. Some nurses in Japan are incensed at a request from Tokyo Olympic organizers to have 500 of them dispatched to help out with the games. They say they're already near the breaking point dealing with the coronavirus pandemic. A protest message saying that nurses were opposed to holding the Olympic went viral on Japanese Twitter recently, being retweeted hundreds of thousands of times. (AP Photo/Hiro Komae, File)
Now playing
02:03
Setbacks continue for Tokyo Olympics as Games are 10 weeks out
screengrab palestinian
CNN
screengrab palestinian
Now playing
05:21
Palestinians fight eviction from homes in East Jerusalem
CNN's Rosemary Church speaks with Dr. Mustafa Barghouti, President of the Palestinian National Initiative political party, about the intensifying violence between Israelis and Palestinians.
CNN
CNN's Rosemary Church speaks with Dr. Mustafa Barghouti, President of the Palestinian National Initiative political party, about the intensifying violence between Israelis and Palestinians.
Now playing
04:16
Palestinian politician: Israel's behavior led to this escalation
screengrab kabul bomb
Reuters
screengrab kabul bomb
Now playing
01:35
Families of schoolgirls describe anguish after blast kills dozens
Reuters
Now playing
01:12
Rare purple-pink diamond could break auction record
Now playing
01:02
See these 50,000-year-old Neanderthal skulls discovered in Italy
Rescue attempts are made as a small whale stranded in the River Thames is seen in this picture obtained from social media in London, Britain, May 9, 2021. DAVID KORSAKS @dkfitldn/via REUTERS THIS IMAGE HAS BEEN SUPPLIED BY A THIRD PARTY. MANDATORY CREDIT. NO RESALES. NO ARCHIVES.     TPX IMAGES OF THE DAY
DAVID KORSAKS @dkfitldn/REUTERS
Rescue attempts are made as a small whale stranded in the River Thames is seen in this picture obtained from social media in London, Britain, May 9, 2021. DAVID KORSAKS @dkfitldn/via REUTERS THIS IMAGE HAS BEEN SUPPLIED BY A THIRD PARTY. MANDATORY CREDIT. NO RESALES. NO ARCHIVES. TPX IMAGES OF THE DAY
Now playing
01:10
See rescue attempt of whale stranded in London's River Thames
Tariq Keblaoui/CNN
Now playing
03:46
This year Ramadan in Lebanon proves harder than ever
Spain end state of emergency coronavirus Covid-19 lok Mclean intl hnk vpx_00000905.png
Spain end state of emergency coronavirus Covid-19 lok Mclean intl hnk vpx_00000905.png
Now playing
00:58
See celebrations in Spain as coronavirus curfew ends
TikTok/angie.mcyen
Now playing
02:28
Woman wakes days after surgery with different accent
Uyghur Watson pkg
CNN
Uyghur Watson pkg
Now playing
03:55
'How can we feel safe?': Uyghur on Chinese government policy
Palestinian protesters hurl rocks amid stun grenade sparks during clashes with Israeli security forces at the al-Aqsa mosque compound in Jerusalem, on May 7, 2021. (Photo by Ahmad GHARABLI / AFP) (Photo by AHMAD GHARABLI/AFP via Getty Images)
AHMAD GHARABLI/AFP via Getty Images
Palestinian protesters hurl rocks amid stun grenade sparks during clashes with Israeli security forces at the al-Aqsa mosque compound in Jerusalem, on May 7, 2021. (Photo by Ahmad GHARABLI / AFP) (Photo by AHMAD GHARABLI/AFP via Getty Images)
Now playing
02:45
Israeli police clash with Palestinians at mosque
(CNN) —  

Nigerian professor Richard Akindele, accused of demanding sex from a female student, was sentenced to prison on Monday.

Akindele was convicted after pleading guilty to four criminal charges, including demanding gratification from a student and sexual coercion of a student, according to court documents seen by CNN.

Akindele had pleaded not guilty to the charges in earlier court appearances at the Federal High Court in Osogbo, southwest Nigeria. However, he changed his plea during his third appearance in court on Monday.

Akindele was sentenced to two years in prison for demanding sexual benefits from student Monica Osagie, two years for soliciting sexual benefits to improve her marks, one year for falsifying his age, and one year for altering evidence. The judge said his sentences would run concurrently, so he will serve two years.

Osagie, 23, was not in court on Monday but her lawyers told CNN she consented to a plea bargain made by Akindele, a requirement under Nigerian law.

The case against Akindele gained momentum after Osagie’s exclusive interview with CNN.

Osagie said she secretly taped a phone conversation with Akindele to gather evidence against him.

Akindele was fired by Obafemi Awolowo University for sexual misconduct one month after the interview and the Nigerian Senate launched an investigation into the issue of sexual harassment in universities.

Nigeria’s anti-corruption agency, ICPC, also started criminal proceedings, which led to his conviction Monday.

Akindele’s lawyers negotiated a plea bargain with federal prosecutors and they deliberated for four hours before Justice Maureen Onyekenu reached a judgment on Monday. The judge rejected the terms of the plea bargain, including a suspended sentence, community service and an option of a fine.

The professor needed to be “taught a lesson” to serve as a deterrent to those who abuse their authority, Onyekenu told the courtroom.

She said accepting the bargain would have downplayed the trauma victims of sexual harassment face in universities.

“I know the mental torture many of our female students have been subjected to by the likes of the respondent.

“The adverse effect of such action is huge. Many of his like have been awarding marks to those students that are ready to warm their beds, thereby releasing half-baked graduates into the society,” Onyetenu said.

A lawyer for Akindele did not immediately respond to a request for comment.

Akindele’s sentence was hailed by women’s rights campaigners and prosecutors pursuing the case.

“The ripple of the outcome of this case will be felt positively for years to come,” ICPC spokeswoman Rasheeda Okoduwa said.

“It’s a clear message to all those who harass students to stop it. If they don’t, we will come after them with the law. This brings some measure of relief to students in the system if this harassment occurs,” she said.