In 1819 Stamford Raffles established Singapore as a key trading post for Britain in their rivalry with the Dutch.