When James Brooke first arrived in Sarawak, it was governed as a vassal state of the Sultanate of Brunei; the system of government was based on the Bruneian model.
Rajah Charles formed a small paramilitary force, the Sarawak Rangers, to police and defend the expanding state.