Sometimes the victims would be attacked when at work on their farms, or some solitary farm-hut would be surrounded at night. In each case the enemy would meet with little resistance. Thus the Dyaks used to live in a constant state of fear.

In those days many of the Sea Dyaks joined the Malays in their piratical attacks upon trading boats. It was the practice of the Malay pirates and their Dyak allies to wreck and destroy every vessel that came near their shores, to murder most of the crew who offered any resistance, and to make slaves of the rest. The Malay fleet consisted of a large number of long war-boats, or prahus, each about ninety or more feet long, and carrying a brass gun in the bows, the pirates being armed with swords and spears and muskets. Each boat was paddled by from sixty to eighty men. These terrible craft skulked about in the sheltered coves waiting for their prey, and attacked merchant-vessels making the passage between China and Singapore. These piratical raids were often made with the secret sanction of the native rulers, who obtained a share of the spoil as the price of their connivance.

The Dyaks of Saribas and Skrang and the Balaus gladly joined the Malays in these expeditions, not only for the sake of obtaining booty, but because they could thus indulge in their favourite pursuit, and gain glory for themselves by bringing home human heads to decorate their houses with. The Dyak bangkongs were long boats capable of holding as many as eighty men. They often had a flat roof, from which the warriors fought, while their comrades paddled below.

Both the piracy and the terrible custom of head-hunting were put down by Sir James Brooke. The romantic story of how he came to be the first Rajah of Sarawak may here be briefly recalled.

James Brooke was born on April 29, 1803. His father was a member of the Civil Service of the East India Company, and spent a great many years in India. Following in his father’s footsteps, he entered the Company’s service, and was sent out to India in 1825. Not long after his arrival he was put in command of a regiment of soldiers, and ordered to Burmah, where he took part in the Burmese War; and, being dangerously wounded in an engagement, was compelled to return home on furlough. For over four years his health prevented him from rejoining his regiment, and when at last he started, the voyage out was so protracted, through a shipwreck and other misfortunes, that his furlough had expired before he was able to reach his destination. His appointment consequently lapsed, and he quitted the service in 1830.

In that same year he made a voyage to China, and was struck by the natural beauty and fertility of the islands of the Indian Archipelago, and horrified with the savagery of the tribes inhabiting them, who were continually at war with one another, and engaged in a monstrous system of piracy. He conceived the grand idea of rescuing them from barbarism, and of extirpating piracy in the Eastern Archipelago.

On the death of his father he inherited the sum of £30,000, and found himself in a position to carry out his schemes. He bought and equipped a yacht, the Royalist, and for three years he cruised about, chiefly in the Mediterranean, training his crew of twenty men for the arduous work that lay before them.

On October 27, 1838, he sailed from the Thames on his great adventure, travelled slowly on the long journey round the Cape of Good Hope, and arrived in Singapore in 1839. Here he met a shipwrecked crew, who had lately come from Borneo. They said they had been kindly treated by Muda Hassim—a native Rajah in Borneo—and they asked Mr. James Brooke to take presents and letters of thanks to him, if he should be going thither in his yacht. Mr. Brooke had not decided which of the many islands of the Eastern Archipelago he would visit, and he was as ready to go to Borneo as to any other; so, setting sail, he made his way up the Sarawak River, and anchored off Kuching on August 15, 1839. The country was nominally under the rule of the Sultan of Brunei, but his uncle, Rajah Muda Hassim, was then the greatest power in the island. As he was favourable to English strangers, Mr. Brooke paid him the customary homage, and was favourably received, and given full licence to visit the Dyaks of Lundu. The Rajah was at this time engaged in war with several fierce Dyak tribes in the province of Sarawak, who had revolted against the Sultan; but his efforts to quell this rebellion were ineffectual. The absolute worthlessness of the native troops under his command, and his own weakness of character, induced him to cling to Mr. Brooke, in whom he recognized a born leader of men, and he appealed for his help in putting down the insurgents, and implored him not to leave him a prey to his enemies. The Rajah even offered to transfer the government of the province to Brooke if he would remain and take command. This offer he felt bound at the time to decline, but it led to his obtaining a position of authority at Sarawak, useful for the purposes of trade.

With James Brooke’s help the rebellion, which the Malay forces were too feeble to subdue, was effectually stayed. The insurgents were defeated in a battle in which Brooke, with the crew of his yacht and some Malay followers, took part. For his services on this occasion Muda Hassim conferred on him the title of Rajah of Sarawak, and this was the first step towards that larger sovereignty which he afterwards acquired. Some time elapsed, however, before the Sultan of Brunei could be induced to confirm the title. Mr. Brooke at once took vigorous action, making many reforms and introducing a system of administration far superior to any that the native authorities had ever dreamed of; and in September, 1841, the government of Sarawak and its dependencies was formally made over to him. In the following year the Sultan of Brunei confirmed what Rajah Muda Hassim had done, on the condition that the religion of the Mohammedans of the country should be respected.

And now Rajah Brooke found himself in a position of authority which enabled him to bring all his administrative powers into operation. He saw clearly that the development of commerce would be the most effective means of civilizing the natives, and to make this possible it was necessary to suppress the hideous piracy which was not only a curse to the savage tribes, appealing as it did to their worst instincts, but a standing danger to both European and native traders in those seas.