BUFFALO, NY - A Kenmore teenager who pleaded guilty to intentionally running over a classmate with a vehiclelearned her sentence Thursday.

Liana Nieves, 18, was sentenced to five years probation by State Supreme Court Justice John L. Michalski, who spared her a potential state prison sentence.

However, as part of her probationary period, Michalski ordered Nieves to spend weekends in the Erie County jail for the next six months.

Nieves will also have toperform 250 hours of community service, and she'll have a nightly curfew. She could still end up serving time in state prison if she violates any of the terms of her probationary sentence.

Nieves, according to her lawyer, was an honor student and captain of her high school track team at Kenmore West who lead an exemplary life, until a fateful day last April.

That's when a dispute with then 17 year old Madeline "Maddie" Silvia, which began on social media, boiled over into an in person confrontation between the two on Chaplin Drive in Tonawanda, and ended with Nievesrunning over Silvia with an SUV.

Silvia was hospitalized with pelvic and spinal injuries from which she continues to recover.

A tearful Nieves apologized to Silvia and her family when given the chance to speak prior to sentencing.

Nieves could have faced up to 25 years in prison on the original charges, but plead guilty without a trial and was granted youthful offender status.

Watch the remarks in court from Maddie Silvia, Liana Nieves, and State Supreme Court Justice Michalski by clicking on the video players.