effectively repelled in their 1638 siege of Srirangapatna. Expansionist ambitions then turned southward into Tamil country where Narasaraja Wodeyar acquired Satyamangalam (in modern northern Erode district) while his successor Dodda Devaraja Wodeyar expanded further to capture western Tamil regions of Erode and Dharmapuri, after successfully repulsing the chiefs of Madurai. The invasion of the Keladi Nayakas of Malnad was also dealt with successfully. This period was followed by one of complex geo-political changes, when in the 1670s, the Marathas and the Mughals pressed into the Deccan. Chikka Devaraja (r. 1672–1704), the most notable of Mysore's early kings, who ruled during much of this period, managed to not only survive the exigencies but further expanded territory. He achieved this by forging strategic alliances with the Marathas and the Mughals. The kingdom soon grew to include Salem and Bangalore to the east, Hassan to the west, Chikkamagaluru and Tumkur to the north and the rest of Coimbatore to the south. Despite this expansion, the kingdom, which now accounted for a fair share of land in the southern Indian heartland, extending from the Western Ghats to the western boundaries of the Coromandel plain, remained landlocked without direct coastal access. Chikka Devaraja's attempts to remedy this brought Mysore into conflict with the Nayaka chiefs of Ikkeri and the kings (Rajas) of Kodagu (modern Coorg); who between them controlled the Kanara coast (coastal areas of modern Karnataka) and the intervening hill region respectively. The conflict brought mixed results with Mysore annexing Periyapatna but suffering a reversal at Palupare. Nevertheless, from around 1704, when the kingdom passed on to "Muteking" (Mukarasu) Kanthirava Narasaraja II, the survival and expansion of the kingdom was achieved by playing a delicate game of alliance, negotiation, subordination on occasion, and annexation of territory in all directions. According to historians Sanjay Subrahmanyam and Sethu Madhava Rao, Mysore was now formally a tributary of the Mughal Empire. Mughul records claim a regular tribute (peshkash) was paid by Mysore. However, historian Suryanath U. Kamath feels the Mughals may have considered Mysore an ally, a situation brought about by Mughal–Maratha competition for supremacy in southern India. By the 1720s, with the Mughal empire in decline, further complications arose with the Mughal residents at both Arcot and Sira claiming tribute. The years that followed saw Krishnaraja Wodeyar I tread cautiously on the matter while keeping the Kodagu chiefs and the Marathas at bay. He was followed