IREDELL COUNTY, N.C. -- A 12-year-old boy was struck and killed by a car as he was walking north on I-77 in Iredell County, according to state troopers.

Troopers said the incident happened around 4 a.m. Sunday.

The boy's family was staying at a Best Western Statesville Inn. According to troopers, the boy, identified by family members as Jessey Raffaldt, snuck out of his hotel room while his parents were sleeping and then stole a car.

The boy traveled south on I-77, then got out of the car and began walking north on the interstate before he was fatally struck by another car.

The boy's relatives told NBC Charlotte that the boy was recently put on new medications and had sleepwalking issues. Officials did not confirm if sleepwalking played a role in Sunday's series of events.

Troopers said the hotel key found on the boy helped investigators track the family and the car's owner.

The driver who hit the boy in their vehicle was not impaired and speed was not a factor, troopers said. No charges were filed against the driver, troopers said.