After being expelled from Thailand in 1688, foreigners started sprinkling into Bangkok.
There were a few merchants and missionaries in the 1830's, and by 1860 many European countries and North America had trade treaties with Bangkok.