In the late 18th century, the commercial and trading activities between the
British Empire and the
Qing Empire became more and more frequent, and the need for setting up British bases in the middle of the navigation routes was also increasing. As a result, the UK started looking for ways to set up trading posts in the region. In 1786 and 1791, the British East India Company signed treaties with the Sultan of
Kedah to acquire
Penang in the
Malay Peninsula. And in 1795, during the
First Coalition War in
Europe,
William V of the
Netherlands was in exile in England. He issued a series of letters, later known as the "
Kew Letters", to overseas Dutch colonies, instructing the local governors to temporarily transfer the control of the Dutch colonies to the UK for safekeeping, including
Malacca,
Padang, and other places. In 1811, the death of Sultan
Mahmud Shah III of
Johor immediately triggered the question of which one of his two sons would succeed to the throne as the new sultan. The elder son,
Tengku Hussein, was not in Johor at that time because he was having his wedding in
Pahang. Later, the influence of the Netherlands in the region gradually recovered and increased, and they began levying heavy taxes on ships anchored in their colonies in the area, including British ships. Consequently, the British East India Company began to look for another base in the region. In the autumn of that same year, in order to counter the Dutch influence in the region, he went to India and successfully persuaded the governor there to support him in finding a suitable location in the southeast of the
Strait of Malacca to open up a new British post. the Netherlands reached an agreement with Sultan Abdul Rahman, the younger son, to establish a garrison camp in
Riau, giving the Netherlands the control over the main shipping channels in the Malacca Strait. They signed a provisional agreement two days later to allow the UK to establish a trading post there, and the
Union Jack was hoisted. Since the Temenggong was subordinate to the sultan, the sovereign of Johor, the approval of the sultan was needed to finalise the treaty. However, the younger son Abdul Rahman was the sultan at that moment and had a close relationship with the Netherlands. It was near impossible for Raffles to get the signature from Sultan Abdul Rahman. Yet, Raffles was aware of the succession dispute, and so he decided to made good use of it. He arranged the elder son Tengku Hussein to be brought in to Singapore from Riau. Tengku Hussein was, then, declared the rightful heir and proclaimed as Sultan of Johor. On 6 February 1819, Raffles, Sultan Hussein, and Temenggong Abdul Rahman signed the Treaty of Singapore in a public ceremony, and the Union Jack was once again hoisted afterwards. This is now recognised as the official founding of modern Singapore. == 1819 Singapore Treaty ==