In 1838, adventurer James Brooke arrived in the region to find the Sultan of Brunei in a desperate attempt to suppress a rebellion against his rule. Brooke aided the Sultan in putting down the rebellion, for which he was made Governor of Sarawak in 1841, being granted the title of Rajah. Brooke undertook operations to suppress Dayak piracy, establishing a secondary objective to put an end to their custom of headhunting as well. During his tenure as Governor, Brooke's most well-known Dayak opponent was the military commander Rentap; Brooke led three expeditions against him and finally defeated him at the Battle of Sadok Hill. During the expeditions, Brooke employed numerous Dayak troops, quipping that "only Dayaks can kill Dayaks". Brooke became embroiled in controversy in 1851 when accusations against him of excessive usage of force against the Dayaks, under the guise of anti-piracy operations, ultimately led to the appointment of a Commission of Inquiry in Singapore in 1854. After an investigation, the Commission dismissed the charges. Brooke employed his Dayak troops during other military expeditions, such as those against the Chinese-Malaysian insurgent Liu Shan Bang and Sarawak warrior Sharif Masahor.