Sir Stamford Raffles established Singapore as a British trading port in 1819 due to its natural harbor, fresh water supply, absence of Dutch control, and strategic location along major trade routes. However, Singapore was indirectly controlled by the Dutch and faced a succession dispute. Raffles exploited this dispute to install a new Sultan and negotiate a treaty with local leaders to set up a British settlement.