President Donald Trump said a U.S. Navy ship shot down an Iranian drone amid heightened tensions between the two nations.

Trump said the USS Boxer fired on the drone in the Strait of Hormuz on Thursday.

The Boxer, Trump said, "took defensive action against an Iranian drone, which had closed into a near distance, approximately 1,000 yards."

Last month, Iran shot down a U.S. military drone. Iran's Revolutionary Guard said it had shot down an "intruding American spy drone" after it entered into the country's territory Thursday. 

And on Thursday, Iran said it had seized an oil tanker that the country claimed was carrying smuggled fuel.