The early history of Perak is obscure, the only information on the subject being obtained from native traditions, which are altogether untrustworthy. According to these authorities, however, a settlement was first made by Malays in Perak at Bruas, and the capital History. was later moved to the banks of the Perak River, the site chosen being a little village called Temong, which lies some miles up stream from Kuala Kangsar, the present residence of the sultan. When the Malacca sultanate fell, owing to the invasion of the Portuguese in 1511, a member of that royal house is said to have migrated to Perak, and the present dynasty claims to have been descended from him. As this boast is also made by almost every ruling family in the peninsula, the tradition is not worthy of any special attention. What is more certain is the tradition that Perak was twice invaded by the Achinese, and its rulers carried off into captivity, one of them, Sultan Mansur Shah, subsequently becoming the ruler of Achin. The first European settlement in Perak was made by the Dutch in 1650, under a treaty entered into with the Achinese, but the natives of the country rose against the Dutch again and again, and it was abandoned in 1783, though it was afterwards reoccupied, the Dutch being finally ejected by the British in 1795. In 1818 the Siamese conquered Perak, but its independence was secured by a treaty between the British and Siamese governments in 1824. From that date until 1874 Perak was ruled by its own sultans, but in that year, owing to internal strife, Sultan Abdullah applied to the then governor of the Straits Settlements, Sir Andrew Clarke, for the assistance of a British Resident. The treaty of Pangkor was concluded on the 20th of January 1874, and the first resident, Mr J. W. W. Birch, was murdered on the 2nd of November 1875. A punitive expedition became necessary; sultan Abdullah and the other chiefs concerned in the murder were banished, the actual murderers were hanged, and Raja Muda Jusuf was declared regent. He died in 1888, and was succeeded by the sultan Raja Idris, K.C.M.G., a most enlightened ruler, who was from the first a strong and intelligent advocate of British methods of administration. Sir Hugh Low was appointed resident, a position which he held until 1889, when he was succeeded by Sir Frank Swettenham. Since then the history of Perak has been one of continuous peace and growing prosperity and wealth. Although the federal capital is Kuala Lumpor in Selangor, Perak still enjoys the honour of being the senior and leading state of the federation.

By the census taken on the 5th of April 1891 the population of Perak was shown to be as follows: Europeans, 366; Eurasians, Jews and Armenians, 293; Malays, 96,719; Chinese, 94,345; Tamils, 13,086; aborigines, 5779; other nationalities, Population. 3666; thus making a grand total of 214,254, of whom 156,408 were males and 57,846 were females. The estimated population in 1905 was 400,000, of whom 200,000 were Chinese and 160,000 were Malays, but owing to the disparity of the proportions between the sexes the deaths in each year largely outnumber the births, and the increase in the population is accounted for solely by the number of immigrants, chiefly from the mainland of China, and to a lesser extent from India also.

The revenue of Perak in 1874 amounted to $226,333. That for 1905 amounted to $12,242,897. Of this latter sum $4,876,400 was derived from duty on exported tin, $2,489,300 from railway receipts, $505,300 from land revenue and $142,800 from postal and telegraphic revenue. The remainder is mainly derived from the revenue farms, which are leased to Chinese capitalists for a short term of years, conveying to the lessee the right to collect import duties upon opium, wine and spirits, to keep pawnbroking shops, and to keep public licensed gambling-houses for the use of Chinese only. The expenditure for 1905 amounted to $10,141,980. Of this sum $4,236,000 was expended upon railway upkeep and construction and $2,176,100 upon public works. The value of the imports into Perak during 1905 was over $20,000,000, and that of the exports exceeded $40,000,000, making a total of over $60,000,000, equivalent to about seven million sterling. The output of tin from Perak ranged between 18,960 tons, valued at $23,099,506 in 1899, and 26,600 tons, valued at $35,500,000, in 1905. The fluctuating character of the output is due, not to any exhaustion of the mineral deposits of the state—that is not to be anticipated for many years yet to come—but to the uncertainty of the labour supply. The mining population is recruited exclusively from the districts of southern China, and during certain years an increased demand for labourers in China itself, in French Indo-China, in the Dutch colonies, and in South Africa temporarily and adversely affected immigration to the Straits of Malacca. The output has, moreover, been affected from time to time by the price of tin, which was $32.20 per pikul in 1896, rose to $42.96 in 1898, to $74.15 in 1900, and averaged $80.60 in 1905. Exclusive of tin, the principal exports were $108,000 worth of Para rubber, $181,000 of copra, $54,000 of hides, $48,000 of patchouli, and considerable quantities of timber, rattans and other jungle produce. The agricultural development of the state is still in its infancy, but rubber is cultivated in rapidly increasing areas, and the known fertility of the soil, the steady and regular rainfall, the excellent means of communication, and the natural and artificial conditions of the country, justify the expectation that the future of Perak as an agricultural country will be prosperous.

Although so much has been done to develop the resources of Perak, by far the greater portion of the state is still covered by dense and virgin forest. In 1898 it was calculated that only 330,249 acres of land were occupied or cultivated out of a total acreage of 6,400,000. General. The area of agricultural holdings has notably increased, but a considerable period must yet elapse before it will amount to even one-tenth of the whole. A line of railway connects the port of Teluk Anson with the great mining district of Kinta, whence the line runs, crossing the Perak River at Enggor, to Kuala Kangsar, the residence of the sultan, thence to Taiping, the administrative capital of the state, and via Krian to a point opposite to the island of Penang. A second line runs south from Perak and connects with the railway system of Selangor, which in its turn connects with the Negri Sembilan and Malacca line, thus giving through railway communication between the last-named town and Penang. Perak also possesses some 600 miles of excellent metalled cart-road, and the length of completed road is annually increasing.

For administrative purposes the state is divided into six districts: Upper Perak, Kuala Kangsar and Lower Perak, on the Perak River; Kinta; Batany Padang and Larut and Krian. Of these, Larut and Kinta are the principal mining centres, while Krian is the most prosperous agricultural district. The districts on the Perak River are mostly peopled by Malays. The administrative capital is Taiping, the chief town of Larut. Kuala Kangsar is chiefly memorable as having been the scene of the first federal meeting of native chiefs, who, with the British Residents from each state, met together in 1897 for friendly discussion of their common interests for the first time in history, under the auspices of the high commissioner, Sir Charles H. B. Mitchell. This, in the eyes of those who are acquainted with the character of the Malays and of the relations which formerly subsisted between the rulers of the various states, is perhaps the most signal token of the changes which British influence has wrought in the peninsula.

Selangor is situated between the parallels 2° 32′ and 3° 37′ N. and 100° 38′ and 102° E., on the western side of the Malay Peninsula. It is bounded on the N. by the protected native state of Perak, on the S. by the protected states of the Negri Sembilan, on the E. by Pahang and the Negri Sembilan, and on the W. by the Straits of Malacca. The coast-line is about 100 m. in length, greatest length about 104 m., and greatest breadth about 48 m., total area estimated at about 3000 sq. m.

The state consists of a narrow strip of land between the mountain range which forms the backbone of the peninsula and the Straits of Malacca. Compared with other states in the peninsula, Selangor is poorly watered. The principal rivers are the Selangor, the Klang and the Langat. The principal port of the state is Port Swettenham, situated at the mouth of the Klang River, and is connected with the capital, Kuala Lumpor, by a railway. The geology of the state closely resembles that of Perak. The state is possessed of most valuable deposits of alluvial tin, and mining for this metal is the chief industry of the population. Kuala Lumpor is also the federal capital of the Malay States.

According to native tradition, the ruling house of Selangor is descended from a Bugis raja, who, with two of his brothers, settled in the state in 1718, the son of the youngest brother eventually becoming ruler of the country. In 1783 the History. then sultan of Selangor joined with the Iang-di-per-Tuan Muda of Riau in an unsuccessful attack upon the Dutch who then held Malacca. In retaliation the Dutch, under Admiral Van Braam, invaded Selangor and drove the sultan out of his country. In 1785, aided by the Bendahara of Pahang, Sultan Ibrahim of Selangor reconquered his state; but the Dutch blockaded his ports, and eventually forced him to enter into a treaty whereby he consented to acknowledge their sovereignty. The earliest British political communication with Selangor began in 1818, when a commercial treaty was concluded with the governor of Penang. In 1867 Sultan Abdul Samad of Selangor appointed his son-in-law, Tungku Dia Udin, to be viceroy; and this gave rise to a civil war which lasted almost without intermission till 1873, when the enemies of Tungku Dia Udin were finally vanquished, largely by the agency of the Bendahara of Pahang, who, at the invitation of the governor of the Straits Settlements, sent a warlike expedition to the assistance of the viceroy. In 1874 the occurrence of an atrocious act of piracy off the mouth of the Langat River led to the governor, Sir Andrew Clarke, appointing, at the request of the sultan, a British Resident to aid him in the administration of his kingdom. Since that date there has been no further breach of the peace, and the prosperity of Selangor has increased annually.

By the census taken on the 5th of April 1891 the population of Selangor was given at 81,592 souls, of whom 67,051 were males and only 14,541 were females. The census taken on the 5th of April 1901 gave a total population of 168,789 souls, of whom 136,823 were males and 31,966 females. Of these 108,768 were Chinese, 33,997 were Malays, 16,748 were Tamils, and only 487 were Europeans. The returns deal with nearly a score of different nationalities. Since 1901 the population has been much increased and now certainly exceeds 200,000 souls. Now, however, that instead of a single port of entry there exist easy means of access to the state by rail both from the north and the south, it is no longer possible to estimate the annual increase by immigration with any approach to accuracy. It will be noted that the inhabitants of this erstwhile Malayan state were, even at the time of the census of 1901, over 64% Chinese, while the Malays were little more than 20% of the population. In Selangor, as elsewhere in the Malay Peninsula, the deaths annually far outnumber the births recorded (e.g. in 1905 births 8293, deaths 12,500). The disproportion of the female to the male sections of the population is greater in Selangor than in any other part of the colony or Malay States. The development of planting enterprise in Selangor, and more especially the cultivation of rubber, has led during recent years to the immigration of a considerable number of Tamil coolies, but the Tamil population is still insignificant as compared with the Chinese.

The revenue of Selangor in 1875 amounted to only $115,656; in 1905 it had increased to $8,857,793. Of this latter sum $3,195,318 was derived from duty on tin exported, $1,972,628 from federal receipts, and $340,360 from land revenue. The Finance, Trade, &c. balance is chiefly derived from the revenue farms, which include the right to collect import duty on opium and spirits. The expenditure for 1905 amounted to $7,186,146, of which sum $3,717,238 was on account of federal charges and $1,850,711 for public works. The value of the imports in 1905 was $24,643,619 and that of the exports was $26,683,316, making a total of $51,326,935, equivalent to £5,988,000. Tin is the principal export. The amount exported in 1905 was 17,254 tons. The total area of alienated mining land at the end of 1905 amounted to 65,573 acres, and it was estimated that over 60,000 Chinese were employed in the mines.