 Before the treaty could be implemented , <unk> Nayaka died and was succeeded by an infant grandson Basava Nayaka , his succession disputed by the Queen Mother , who favored another claimant , <unk> Nayaka . The 1671 treaty languished amidst the succession struggle until 1678 , when yet another treaty was negotiated with Basava Nayaka who emerged as the victor . Since both parties in the succession struggle had been interested in purchasing European artillery from the Portuguese , the eventual treaty of 1678 was even more favorable to the latter . Under it , Basava agreed to pay 30 @,@ 000 <unk> in Portuguese war @-@ charges for the decade @-@ long conflict with the Dutch ( whom the Nayakas of Ikkeri had supported ) , to provide construction material for the factory at Mangalore , to provide 1 @,@ 500 sacks of clean rice annually , to pay a yearly tribute for Mangalore and Barcelore , to destroy the factories of the Omani Arabs on the Kanara coast , and to allow Catholic churches to be built at a number of locations in Kanara . With the treaty in place , Portuguese power returned to Kanara after an interregnum of almost half a century . The Nayakas of Ikkeri , in their turn , managed to control the region until 1763 , at which time Haidar Ali took possession of it and declared the intention of making a new capital , later called Nagar . ( See Map 9 . ) 
