(CNN) Four people were killed when a freight train struck a bus carrying senior citizens on a casino outing Tuesday in Biloxi, Mississippi, officials said.

Previous reports from officials fluctuated between three and four deaths.

The Texas-based charter bus, carrying 49 passengers, was heading north on Main Street when it got stuck trying to cross train tracks, according to Cecilia Dobbs Walton, a city spokeswoman. The eastbound CSX train struck the bus about 2:13 p.m., said Vincent Creel, another city spokesman.

Seven passengers were critically injured, city officials said. Authorities said 41 people were taken to hospitals, including one person who was airlifted from the scene.

The train's engineer and conductor were not injured, CSX spokesman Gary Sease said.

Weeklong trip with casino stops

Melissa Flores of Lockhart, Texas, said her mother, Mary Ramirez, was a passenger on the bus, along with other members of the Bastrop Senior Center in Bastrop, Texas, about 33 miles southeast of Austin. The group left on Sunday for a weeklong trip through Mississippi and Louisiana, Flores said.

According to the itinerary, Flores said, the group ate breakfast Tuesday morning at Hollywood Casino Gulf Coast in Bay St. Louis, Mississippi, and was scheduled to arrive at Boomtown Casino Biloxi about 2:30 p.m.

Flores said Ramirez, 71, told her the bus stalled on the tracks, and passengers started to leave the bus after a few minutes.

Seven passengers managed to get off the bus, CNN affiliate KEYE-TV in Austin reported.

Ramirez suffered minor injuries, including a gash on her ankle, Flores said. Flores said Ramirez is a widow and a retired railroad commission employee. Ramirez does not live in the senior center but is an active member there, Flores said.

Bastrop Senior Center President Barbara Adkins said 27 people on the bus were from the center.

Bastrop Senior Center says today was Day 3 of a 7-day trip to Biloxi & New Orleans. Attendees were to visit a Biloxi casino today. pic.twitter.com/RvXAiV7Wtw — MelanieTorre (@melanietorre) March 7, 2017

"My heart goes out to those folks to know that there was nothing they could do," Adkins said, according to KEYE. "Prayers for them and prayers for their families."

Residents from Austin and Sealy, a city west of Houston, were also aboard the bus, KEYE reported.

Victims identified

Mississippi officials on Wednesday released the names of the victims. They are Peggy Hoffman, 73 and Ken Hoffman, 82, both from Lockhart, Texas, a community about 70 miles southeast of San Antonio. Clinton Havran, 70 of Sealy, and Deborah Orr, 62, of Bastrop, also were killed in the crash, officials said.

The Hoffmans were former longtime administrators with the Lockhart Independent School District, the district said. Ken Hoffman was an assistant superintendent in the district office who retired in 1996. Peggy Hoffman was a longtime teacher and principal. She retired in 2000.

"They were true pillars of our community and their legacy will live on through their loved ones," district spokeswoman Christina Courson said in a statement.

A good Samaritan to the rescue

Motorist Austin Dominey said it looked like the bus had bottomed out as it tried to cross the train tracks, reported CNN affiliate WKRG-TV in Mobile, Alabama. Dominey told the station it appeared the bus driver was trying to back up when the train ran into it.

There is a low ground clearance sign on each side of the tracks.

Dominey said a man in a car in front of him raced down the street and started to help people climb out some broken windows. The driver stood on top of his Chrysler sedan, which he had parked next to the bus, according to Dominey.

"Soon as it happened you could see people, like the whole community coming out to really help those people that were in need," he said.

Casino officials expressed condolences to the victims.

"Our thoughts and prayers are with the families of those who tragically lost their lives and all those affected by this accident," Ameet Patel, a casino official, said in a statement posted on Facebook. Patel is senior vice president of regional operations for Penn National Gaming, the owner of the Bay St. Louis and Biloxi casinos.

Biloxi, a Mississippi Gulf Coast city about 60 miles south of Mobile, is a popular destination for many casino goers.

Flashing lights and gates at crossing

The eastbound mixed-freight train was heading from New Orleans to Waycross, Georgia, the National Transportation Safety Board said. The train had three locomotives and 52 cars, 27 loaded cars and 25 empty cars, Sease said. The crossing has flashing lights and crossing gates, according to Sease.

He said all locomotives are equipped with cameras. But he couldn't immediately confirm if the locomotives have event recorders, which typically record data such as speed.

"This is a tragic event for our city," Biloxi Mayor Andrew Gilich said.

CNN Map

Tuesday's crash isn't the first at the Main Street crossing. Two months ago, a Pepsi truck, also traveling north, tried to cross the tracks and became stuck on the low ground clearance, Biloxi officials posted on the city's Facebook page then. No one was injured in that crash.

The crossing's history will be among the topics covered by the investigation, National Transportation Safety Board member Robert Sumwalt told reporters Wednesday at Virginia's Reagan Washington National Airport before NTSB investigators departed for Biloxi.

"I think this one is particularly of concern to us because there was another accident ... at this same grade crossing two months ago," Sumwalt said. "So we're very interested in factors such as that. What is it about this intersection? Is there anything in particular about this grade crossing?"

NTSB launching go-team to investigate today's accident

involving a train and bus in Biloxi, MS. Team to arrive in Biloxi

Weds. morning. — NTSB_Newsroom (@NTSB_Newsroom) March 7, 2017

The Main Street crossing had 14 crashes, including two fatalities, from 1975 through 2016 -- tied for second most for railroad intersections in Mississippi's Harrison County in that time frame, according to Federal Railroad Administration data . However, all but two off those crashes happened from the 1970s through the '90s. Five involved vehicles that were stalled or otherwise stopped on the tracks.

After arriving in Biloxi, Sumwalt said, the train crew had placed the train in emergency stop when it was about 510 feet away from the bus. The train was traveling at about 26 mph when it braked. The train had reduced it's speed to about 19 mph at the time of the collision, Sumwalt said.

The train pushed the bus about 203 feet after striking it, he said.