President Donald Trump said Friday that Iran has attacked ships in the Strait of Hormuz and that it's a violation of the U.S.-Iran cease-fire.

Iran attacked a cargo ship traveling through the Strait of Hormuz, possibly upending President Donald Trump's diplomatic end to the war with Iran.

The ceasefire between the U.S. and Iran went into effect earlier this month as the two sides engage in peace talks.

The free flow of commerce was one of the 14 points of understanding that the U.S. and the Iran reached.