Singapore in the Straits Settlements refers to a period in the history of Singapore from 1826 to 1942, during which Singapore was part of the Straits Settlements together with Penang and Malacca. From 1830 to 1867, the Straits Settlements was a residency, or subdivision, of the Presidency of Bengal, in British India. In 1867, the Straits Settlements became a separate Crown colony, directly overseen by the Colonial Office in Whitehall in London. The period saw Singapore establish itself as an important trading port and developed into a major city with a rapid increase in population.
British rule was suspended in February 1942, when the Imperial Japanese Army invaded Singapore during World War II.
In 1819, British official Stamford Raffles landed in Singapore to establish a trading port. The island's status as a British outpost was initially in doubt, as the Dutch government soon issued bitter protests to the British government, arguing that their sphere of influence had been violated. The British government and the East India Company were initially worried about the potential liability of this new outpost, but that was soon overshadowed by Singapore's rapid growth as an important trading post. By 1822, it was made clear to the Dutch that the British had no intention of giving up the island.
The status of Singapore as a British possession was cemented by the Anglo-Dutch Treaty of 1824, which carved up the Malay archipelago between the two colonial powers. The area north of the Straits of Malacca, including Penang, Malacca and Singapore, was designated as the British sphere of influence, while the area south of the Straits was assigned to the Dutch. This division had far-reaching consequences for the region: modern-day Malaysia and Singapore correspond to the British area established in the treaty, and modern-day Indonesia to the Dutch. In 1826, Singapore was grouped together with Penang and Malacca into a single administrative unit, the Straits Settlements, under the administration of the East India Company.