A B-1 Lancer bomber from Ellsworth Air Force Base in South Dakota crashed Thursday, with all four of its crew members ejecting, the Air Force said.

The B-1 crashed “at approximately 5:50 p.m. today while attempting to land on the installation. At the time of the accident, it was on a training mission. There were four aircrew on board. All four ejected safely,” the 28th Bomb Wing at Ellsworth said in a statement.

At the time of the crash visibility was poor with freezing temperatures and low clouds, according to automated weather reporting equipment recording airfield conditions.