The English East India Company first attempted to establish a factory at Surat during Akbar's reign but faced Portuguese opposition. Later, Captain William Hawkins visited Jahangir's court in 1609 but could not secure permission immediately. It was Sir Thomas Roe, who came as the ambassador of King James I in 1615, who successfully obtained an imperial farman from Jahangir in 1613 (following a naval victory against the Portuguese near Surat) and further solidified British trading rights, leading to the establishment of a permanent factory at Surat.