The origins of the Indian Navy date to 1612, when an English vessel under the command of Captain Best encountered the Portuguese. Although the Portuguese were defeated, this incident along with the trouble caused by the pirates to the merchant vessels, forced the British to maintain fleet near Surat, Gujarat. East India Company (HEIC) formed a naval arm, and the first squadron of fighting ships reached the Gujarat coast on 5 September 1612.