The Dutch obtained a footing in Halmahera with the aid of the latter, and he held claim to the northern half of the island, with the southern half under the sultan of Tidore for as long as the Dutch controlled the East Indies. Halmahera joined the Republic of Indonesia shortly after the country’s declaration of independence in 1945.