The U.S. military says it hit Iranian targets over Iran's drone attack on a commercial vessel in the Strait of Hormuz, marking the first American strikes on Iran since the two countries formally agreed to extend a ceasefire last week.

The U.S. has struck Iran to respond to a drone attack a day earlier on a cargo ship in the Strait of Hormuz, a provocation that President Donald Trump said violated the ceasefire.

A U.S. aircraft struck Iranian missile and drone storage locations as well as coastal radar sites on Friday, U.S. Central Command said.