A Norfolk Southern train derailed in Alabama on Wednesday, just hours before the company’s CEO testified before Congress about rail safety.

The train was carrying hazardous materials when it derailed in Tuscaloosa County, causing a large fire and prompting authorities to evacuate nearby homes. The company said it was working with local officials to contain the situation and ensure the safety of the community.

The derailment came as Norfolk Southern CEO James Squires testified before the House Transportation and Infrastructure Committee, which is considering new rail safety regulations. During his testimony, Squires emphasized the company’s commitment to safety and its efforts to improve its operations.

“Norfolk Southern is committed to operating safely, and we are constantly working to improve our safety practices,” Squires said. “We take every incident seriously, and we will continue to work with regulators and other stakeholders to ensure the safety of our employees, customers, and the communities we serve.”

The cause of the derailment is still under investigation, and it’s unclear if it was related to the issues discussed during Squires’ testimony. The incident highlights the ongoing concerns about rail safety and the need for continued improvements to prevent accidents and protect communities.