When the British first arrived in Singapore, most of the inhabitants on the island of Singapore were fisherman, seamen or pirates, living in small houses. There were about 150 people; a majority of 120 Malay and 30 minority Chinese. When Singapore became a Straits Settlement, there were very few Chinese. After Singapore became a British trading post as part of the Straits Settlement, the first batch of Chinese came from Malaysia, predominantly from Malacca and Penang. Amongst these Chinese from Malacca and Penang, many were Peranakans or descendants of Chinese in Malaysia for several generations. Most were traders who could speak Chinese and Malay, though many were also English-educated and could communicate with the British. In the Manners and customs of the Chinese of the Straits Settlements, Singapore, it was described that the Straits-born Chinese regarded themselves as British subjects instead of Chinese subjects; their lifestyle was more westernised. By the time of the first census of Singapore in 1824, the Chinese migrants were noted as being either Peranakans, or from Macau, Guangdong and Fujian. The Chinese quickly formed the majority of the population in Singapore, by the census of 1826 there were already more Chinese (6,088) than Malays (4,790) excluding Bugis (1,242) and Javanese (267). The Chinese became the dominant group by the 1830s (the largest ethnic group at 45.9% in the 1836 census), and by 1849, 52.8% of the total population of 52,891 were Chinese. The Chinese population reached over 70% of the total by 1901 and has stayed there since. The early Chinese migrants to Singapore were predominantly males. In 1826, the official census figures show that out of a total population of 13,750, there were 5,747 Chinese males but only 341 Chinese females. Most of the Chinese females in this early period of Singapore were nyonyas from Malacca as women from China were discouraged from emigrating. It was noted in 1837 that there were no Chinese women in Singapore who had emigrated directly from China; even as late as 1876, a British official in Singapore wrote that he did not know of any respectable Chinese woman who had emigrated with her husband. The imbalance of the sexes in Chinese community continued for a long time with the continual flow into Singapore of male migrant workers who were either single or had left their wives and children behind in China; for example, the 1901 census figures show