An Indian-American student who hacked into his school's computer system last year to change his failing grades to "A" has been granted probation and asked to apologise to his professors.
The judge granted Varun H Sarja, 20, a year and a half probation "with an underlying 18-month prison sentence that he could be ordered to serve should he fail at probation," the Lawrence Journal-World reported late on Monday.
Mr Sarja, who was convicted in May on 18 felony counts, had pleaded guilty to two counts each of identity theft and unlawful computer acts.
The remaining counts against him were dismissed. The criminal charges were filed against Mr Sarja in November 2017.
While studying engineering as a freshman at University of Kansas (KU) during the 2016-17 school year, Mr Sarja used a keystroke logger to steal confidential login information and hacked into multiple campus computers to change his failing grades.
A keylogger is a device plugged into the computer that tracks or logs the keys struck on the keyboard in a covert manner, enabling the hacker get access to username and password.
An investigation revealed that Mr Sarja had changed almost all of his 10 grades that year and stole teachers' login credentials to do it.
"Sarja told detectives he loved engineering, wanted to be successful and was scared to tell his parents he had failed classes," the report noted.
Mr Sarja has agreed to the terms of his probation, saying he would apologise directly to those professors who were affected.
Mr Sarja, who hails from Olathe city, also told the judge that he would not access keyloggers again.
Kansas City Shooting: Wife Of Indian Shot Dead By American Asks 'Do We Belong Here' The Surprising Thing Ancient Mummies Tell Us About What To Eat New Technique May Help Detect Traces of Alien Life on Mars "Jindal Group Executive Showed Porn, Groped Me On Flight": Woman To NDTV Bangladesh Imposes Curfew, Deploys Military As 105 Die In Protests Over 300 Indian Students Return Home As 105 Bangladeshis Killed In Protests Joe Biden Is The Best Person To Take On Trump, Says His Campaign Wife Among Two Jailed For Life For Man's Murder In Gurugram: Cops 1,100 Flights Cancelled In US As Microsoft Outage Disrupts Operations Track Latest News Live on NDTV.com and get news updates from India and around the world.