In the late 1800s, the British North Borneo Company (BNBC) began to establish colonies throughout North Borneo (now Sabah). In 1882, the Company founded a small settlement on Gaya Island (Pulau Gaya), which was already inhabited by the Bajau people. In 1897, this first settlement was burned and destroyed by Bajau rebels led by Mat Salleh.