Singapore
With the Temenggong's help, Raffles managed to secretly bring Tengku Long back into Singapore. Raffles offered to recognize Tengku Long as the true Sultan of Johor, under the title of Sultan Hussein, as well as giving him $5000 per year and another $3000 to the Temenggong; in return, Sultan Hussein would give the British the right to establish a trading post on Singapore. An official treaty was signed on 6 February 1819.