SEALY, Texas (AP) — A Southeast Texas school district says three of its students took control of a school bus after the driver became unconscious and later died.

The Sealy school district said on Friday that the bus and its driver, Gerald Gardner, had just picked up students at a junior high school and was leaving the campus when he lost consciousness.

READ MORE: Cowboys Face 49ers In Tough Wild-Card Matchup

The three students took the wheel and safely parked the bus.

Three other individuals arrived at the scene and performed CPR on Gardner after taking him off the bus.

READ MORE: Colleyville Rabbi: 'We Are Resilient And We Will Recover'

Gardner was later pronounced dead. A cause of death was not immediately known.

In a statement, the school district said it was “extremely grateful” for Gardner’s years of service.

MORE NEWS: 49ers LT Trent Williams Active For Wild-Card Game At Cowboys

Sealy is located about 50 miles west of Houston.