Raffles had successfully swindled the Sultan of Johor out of a fortune.
But Raffles secured his place in history by negotiating with the Sultan of Johor the creation of the Singapore trading post, in 1819.