 North Kalimantan used to be a territory of the Hindu Kingdom of Kutai.It was later subjugated by waves of Islamic invasions, during when the Brunei and Kutai were battling for hegemony over Borneo.The territory fell into the hands of Brunei and after agreements were made with the Sultanate of Sulu, the territory officially came under Sulu control.