CHICAGO (CBS) — A teenager, charged with stabbing an Uber driver to death with a machete, will be moved to the Cook County jail.

Eliza Wasni’s lawyer tried to keep her from being transferred out of juvenile detention when she turns 18 next week, but a Cook County judge denied that motion Wednesday.

READ MORE: Man With 13-Year-Old Adam Toledo When He Was Fatally Shot By Police Facing Felony Gun Charges

READ MORE: British Cooking School Life Kitchen Launches Cookbook For Those Who Have Lost Smell, Taste Due To COVID-19

Wasni is accused of stealing a knife and a machete from a Skokie Walmart, ordering an Uber, then fatally stabbing the driver, Grant Nelson, in 2017.

MORE NEWS: Chicago Weather: Rain Tapers Saturday Night, But More Scattered Showers Sunday