(KCEN) -- Three freight trains collided Wednesday near Amarillo, injuring four people.

At least 30 cars derailed when an eastbound train rear-ended a stopped train. Then, a westbound train collided with both wrecked trains.

Four crew members were injured, two of them critically.

Officials say the trains were hauling tractor trailers.

The cause of the accident is under investigation.