Were it not for the good intentions of the Iranian commanders, he said, the US was facing yet another crisis now.
The incident showed the vigilance of the Iranian armed forces, the commander noted.
Iran released ten US marines it was holding for crossing into Iranian territorial waters.
IRGC Public Relations Department, in a statement, said that the US navy boats were stopped Tuesday at 4:30 PM (local time) when they entered Iranian territorial waters near Farsi Island in the middle of the Persian Gulf.
IRGC declared that the US navy boats entered Iranian territorial waters illegally.
The US boats lost contact with their central commanding units due to technical problems but were rescued by Iranian forces.