Troopers said 43-year-old Brian Ronald Trent was injured just before 10 a.m. Tuesday at a crossing in Somerset Township.
Witnesses told police that railroad crossing lights were flashing when Trent drove his car across the tracks and was struck on its passenger side by a CSX freight train. The car spun along the tracks before the rear of the vehicle was also hit by the train.
Police said in a news release that Trent suffered unspecified serious injuries.
He was flown to Conemaugh Memorial Medical Center in Johnstown, where hospital officials say he was undergoing surgery Tuesday afternoon.