PHOTO: US Navy
Now playing
01:59
US Navy fires warning shots at Iranian vessel
Green Party presidential nominee Jill Stein waits to be introduced prior to a press conference at the National Press Club August 23, 2016 in Washington, DC.
PHOTO: Win McNamee/Getty Images
Green Party presidential nominee Jill Stein waits to be introduced prior to a press conference at the National Press Club August 23, 2016 in Washington, DC.
Now playing
01:44
Jill Stein raises millions for recount
Former Democratic US Presidential candidate Hillary Clinton speaks to staff and supporters at the New Yorker hotel after her defeat in the presidential election November 9, 2016 in New York. / AFP / Brendan Smialowski        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/Getty Images
Former Democratic US Presidential candidate Hillary Clinton speaks to staff and supporters at the New Yorker hotel after her defeat in the presidential election November 9, 2016 in New York. / AFP / Brendan Smialowski (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
02:14
Scientists urge Clinton to call for recount
LYNDEN, WA - MAY 07: Republican presidential candidate Donald Trump gives a speech during a rally at the The Northwest Washington Fair and Event Center on May 7, 2016 in Lynden, Washington. Trump became the Republican presumptive nominee following his landslide win in Indiana on Tuesday. (Photo by Matt Mills McKnight/Getty Images)
PHOTO: Matt Mills McKnight/Getty Images North America/Getty Images
LYNDEN, WA - MAY 07: Republican presidential candidate Donald Trump gives a speech during a rally at the The Northwest Washington Fair and Event Center on May 7, 2016 in Lynden, Washington. Trump became the Republican presumptive nominee following his landslide win in Indiana on Tuesday. (Photo by Matt Mills McKnight/Getty Images)
Now playing
03:25
Donald Trump's wild ride
Now playing
01:46
Trump's challenges in the Middle East
donald trump undocumented immigrants crime fact check origwx ty_00013807.jpg
donald trump undocumented immigrants crime fact check origwx ty_00013807.jpg
Now playing
02:47
Fact checking Trump on crimes by immigrants
PHOTO: Mark Makela/Getty Images/Lintao Zhang/Getty Images
Now playing
01:26
Trump vs. the tape on Obama and the protester
Now playing
01:28
Trump compares Clinton email probe to Watergate
Members of the Secret Service rush Republican presidential candidate Donald Trump off the stage at a campaign rally in Reno, Nev., on Saturday, Nov. 5, 2016. (AP Photo/John Locher)
PHOTO: John Locher/AP
Members of the Secret Service rush Republican presidential candidate Donald Trump off the stage at a campaign rally in Reno, Nev., on Saturday, Nov. 5, 2016. (AP Photo/John Locher)
Now playing
01:20
Donald Trump rushed off stage by Secret Service
PHOTO: AFP/Getty Images
Now playing
02:16
Trump reads letter from Patriot's coach at rally
US Republican presidential nominee Donald Trump speaks during rally at the Atkinson Country Club in Atkinson, New Hampshire on November 4, 2016.
PHOTO: Mandel Ngan/AFP/Getty Images
US Republican presidential nominee Donald Trump speaks during rally at the Atkinson Country Club in Atkinson, New Hampshire on November 4, 2016.
Now playing
01:56
Trump on US officials: 'What a group of losers'
donald trump nice and cool pensacola fl bts_00001523.jpg
donald trump nice and cool pensacola fl bts_00001523.jpg
Now playing
00:49
Trump's mantra in campaign's final week: Stay on point
donald trump nice to hillary clinton and democrats orig cm_00000000.jpg
donald trump nice to hillary clinton and democrats orig cm_00000000.jpg
Now playing
01:52
Audio of Trump praising the Clintons and Democrats
cuomo lewandowski hillary clinton email exchange newday_00002327.jpg
cuomo lewandowski hillary clinton email exchange newday_00002327.jpg
Now playing
01:28
Cuomo grills Lewandowski on Clinton email 'hypocrisy'
Now playing
00:10
This video is no longer available
Now playing
01:49
Meet the other Hillary Clinton and Donald Trump

Story highlights

Taking such action would have tremendous ramifications and would likely be considered an act of war

Trump appeared to be referring to a series of close encounters between the US and Iran

(CNN) —  

Donald Trump vowed Friday that if Iran inappropriately approached US ships, they would be “shot out of the water.”

“And by the way, with Iran, when they circle our beautiful destroyers with their little boats and they make gestures that our people – that they shouldn’t be allowed to make, they will be shot out of the water,” he said at a rally here.

Taking such action would have tremendous ramifications and would likely be considered an act of war. The comments, even given Trump’s penchant for tough language, are unusual for a presidential candidate.

Trump appeared to be referring to a series of close encounters between the US and Iran in international waters in the Persian Gulf.

An Iranian ship came within 100 yards of a US Navy patrol ship earlier this week in what the US Navy described as an “unsafe and unprofessional” action involving “harassing maneuvering.”

And late last month, a US Navy patrol craft fired three warning shots at an Iranian Revolutionary Guard Corps boat after US officials said it had harassed two US ships. Another US patrol craft and a Kuwaiti Navy ship were also harassed in the northern end of the Persian Gulf.

Iran has also flown drones over US ships and in one of the most intense confrontations between the US and Iran, Iranian troops took US sailors into custody in January after the US naval ship accidentally strayed into Iranian territorial waters.

The US has condemned Iran’s actions but hasn’t responded militarily to the provocations.

Those actions come against the backdrop of renewed US diplomatic contacts with Iran, which has triggered a political backlash among Iranian hardliners.

But Trump, the Republican nominee, has repeatedly argued that Obama has been too “weak” on the world stage and vowed a more aggressive posture, including threatening more serious military action.

Trump has vowed to “bomb the s— out of ISIS” and has left open the possibility of using nuclear weapons as president.

He also has suggested that he would bomb ISIS targets in Libya, expanding the US fight against the terrorist group.