The first visit of a Portuguese ship to Melaka in 1509 ended badly , as embittered Gujurati merchants poisoned the atmosphere against the Portuguese .
The Gujarati merchants got along well with the Portuguese when they first arrived to Melaka .