A teenage passenger of a 15-year-old driver died in a single-car crash Wednesday shortly after midnight in Burnsville, officials said.

The wreck occurred about 12:30 a.m. on E. Burnsville Parkway just west of Portland Avenue, where the car hit a tree in the median, said police Capt. Matt Smith.

Smith identified the passenger who died as 15-year-old Brilly Karen Cabrera Carchi of Burnsville.

The driver, Diego Hernandez, also of Burnsville, suffered noncritical injuries, Smith said.

Smith said the two were traveling between their homes in Burnsville at the time of the crash.

No one else was in the car. Drivers his age must have a licensed adult age 21 or older along in order to operate a motor vehicle, according to state law.

Both teens were Burnsville High School students, Smith said. He and another officer were at the school Wednesday morning to share what information they could about the crash and offer support to students and staff.