WHITTIER, Calif. (AP) — The family of an autistic teenager who died after being left alone on a Whitter school bus is receiving $23.5 million from the bus company.

Attorneys on Monday say Pupil Transportation Cooperative is settling a wrongful-death lawsuit over the September 2015 death of Hun Joon “Paul” Lee.

The 19-year-old was pronounced dead after he was left alone on the closed and sweltering bus for seven hours.

The lawsuit said the driver had been distracted by sexually explicit texts from his lover and left the bus without checking to see if anyone was still aboard because he was in a hurry to have a tryst.

The driver, Armando Ramirez, pleaded guilty to dependent adult abuse resulting in death and was sentenced to two years in prison.