 The sultanate was originally named the Kingdom of Gapi, but later changed the name to be based on that of its capital, Ternate.Ternate and neighbouring Tidore were the world's single major producer of cloves, upon which their rulers became among the wealthiest and most powerful sultans in the Indonesian region.Much of their wealth, however, was wasted fighting each other.