The U.S. received advance warning of Iranian missiles that hit two Iraqi military bases hosting American forces, according to a defense official Wednesday. 

“U.S. early warning systems detected the incoming ballistic missiles well in advance, providing U.S. and coalition forces adequate time to appropriate force protection measures,” the official told Anadolu Agency on condition of anonymity.

The U.S. sustained no casualties when Iran’s Islamic Revolutionary Guards Corps launched more than a dozen ballistic missiles in retaliation for the American assassination of Gen. Qasem Soleimani, the corps’ former Quds Force commander.

The CNN network reported that Iran warned Iraqi officials

Read more: US detected Iran missiles in advance: Defense official