UNION, N.J. – A Kean University student who faked racist threats against her classmates on Twitter will spend time behind bars, and years on probation.

Union County Judge Robert Mega on Friday sentenced Kean University student Kayla McKelvey, a former black student leader, to 90 days in county jail and five years of probation for creating a false alarm. The 25-year-old was also ordered to repay the school and police $82,000 for the police response to her threatening tweets, News 12 reports.

MORE NEWS: Know These Before Moving From Cyprus To The UK

McKelvey was also ordered to serve 100 hours in a labor assistance program with the sheriff’s department, as well as time in anger management and counseling.

Mega “called McKelvey’s threats a selfish plan of hate that created terror and mayhem and put her classmates, school and police officers at risk,” according to the news site.

McKelvey’s sentence comes days after Mega denied a plea agreement that would have allowed her to avoid jail time, the Associated Press reports.

“Prosecutors alleged the 25-year-old tweeted threats from a Kean University library because she wanted more people to attend a November 2015 rally. She then returned to the rally to tell people about the threats,” according to the news service.

“One tweeted addressed to campus police read: ‘@kupolice I will kill all the blacks tonight, tomorrow and any other day if they go to Kean University.’”

Other messages, posted by “@keanuagainstblk” included “I will kill every black male and female at kean university,” “i will shoot every black woman and male I see at kean university #keanuniversity,” and “i will shoot every black person i see at kean university,” the Daily Mail reports.

MORE NEWS: How to prepare for face-to-face classes

McKelvey was the president of the Pan African Student Union and the school’s 2014 homecoming queen, according to the news site.

The “self-proclaimed activist” told police she created a fake Twitter account and sent out the threatening tweets to “raise awareness” about racism at Kean University, NJ.com reports.

She apologized for her actions in court, but also attempted to provide excuses for her inexcusable behavior, “claiming there were students shouting ‘white power’ during the rally and referring to black students as monkeys,” News 12 reports.

Judge Mega didn’t buy it, pointed out that McKelvey is not showing total remorse, and criticized her plea agreement with prosecutors.

“McKelvey’s defense attorney says his client has already suffered extensively and is having trouble finding a job and has lost all credibility,” according to the news site.

According to the AP:

The threats also prompted a group of black ministers to call for Kean President Dawood Farahi to resign, saying the threats showed that he hadn’t done enough to address racial tension on campus. He remained in his position, however.

An internal report released last month concluded Kean’s policies and processes aren’t discriminatory. It found that the university’s policies are “comprehensive and equitable” and that nearly a fifth of Kean’s students are African-American and roughly 30 percent of its employees are black.