Eliza Wasni, who is now 19 years old, pleaded guilty Monday to first-degree murder.
The former Taft High School student was 16 when she took a ride with Grant Nelson in Lincolnwood.
Police say she had just stolen a knife and machete which she used to attack Nelson just before 3:30 a.m. near the intersection of Touhy and Lincoln avenues on May 20, 2017.
RELATED: Teen charged in Lincolnwood Uber driver murder misses court date
Nelson ran for help after being repeatedly slashed and stabbed but the 34-year-old Wilmette man later died at the hospital.
Prosecutors said Nelson was Wasni's third Uber driver that morning and that the attack was seemingly unprovoked.
"Only two minutes or so after picking up the defendant, she begins to hack at him and stab him from the back of the seat," said Assistant State's Attorney Michelle Cunningham said in May 2017.
RELATED: Lincolnwood stabbing victim's sister: No hatred for alleged murderer
Prosecutors said Wasni tried driving off in Nelson's car, but hit a median. Police responding to 911 calls said they then found her hiding, still holding the knife and machete. They said she was told repeatedly to put them down, and when she didn't she was Tased.
Officers found Nelson in a gray 2014 Hyundai Sonata with multiple stab wounds. He was able to tell police he was an Uber driver and said he had been stabbed by his passenger, a white, female juvenile.
RELATED: Uber driver who was fatally stabbed remembered by family, friends, fellow drivers
At the time of her arrest, the Cook County State's Attorney charged Wasni as an adult and called the attack heinous and unprovoked.
Nelson's murder was the first homicide in Lincolnwood since 2006, according to police.