MONTGOMERY COUNTY, Texas (KTRK) — Magnolia Fire Department crews are working to clear a crash involving one of their fire engines on Thursday afternoon, officials said.

The crash happened around 2:25 p.m. on FM 1774 near FM 149 in Magnolia, just about an hour and 14 minutes outside Houston.

According to the Magnolia FD, four firefighters in Engine 187 were returning from a call when the collision happened.

Officials said all four were transported to HCA Tomball. In an update, fire officials said the firefighters are OK and in good spirits.

SkyEye flew over the scene and captured the truck flipped on its side next to railroad tracks.

The second vehicle, an SUV, had one person in it who was also transported to the hospital. Officials said they are doing fine.

Officials did not immediately say what caused the crash.

The fire department said the roads will be closed as the investigation continues.