In 1766 Mysore began to become drawn into territorial and diplomatic disputes between the Nizam of Hyderabad and the British East India Company, which had by then become the dominant European colonial power on the Indian east coast. The Nizam, seeking to deflect the British from their attempts to gain control of the Northern Circars, made overtures to Hyder Ali to launch an invasion of the Carnatic. Company representatives also appealed to Hyder Ali, but he rebuffed them. The Nizam then ostensibly struck a deal with the British Madras Presidency for their support, but apparently did so with the expectation that when Hyder Ali was prepared for war, the deal with the British would be broken. This diplomatic maneouvring resulted in the start of the First Anglo-Mysore War in August 1767 when a company outpost at Changama was attacked by a combined Mysore-Hyderabad army under Hyder Ali's command. Despite significantly outnumbering the British force (British estimates place the allied army size at 70,000 to the British 7,000), the allies were repulsed with heavy losses. Hyder Ali moved on to capture Kaveripattinam after two days of siege, while the British commander at Changama, Colonel Joseph Smith, eventually retreated to Tiruvannamalai for supplies and reinforcements. There Hyder Ali was decisively repulsed on 26 September 1767. With the onset of the monsoon season, Hyder Ali opted to continue campaigning rather than adopting the usual practice of suspending operations because of the difficult conditions the weather created for armies. After over-running a few lesser outposts, he besieged Ambur in November 1767, forcing the British to resume campaigning. The British garrison commander refused large bribes offered by Hyder Ali in exchange for surrender, and the arrival of a relief column in early December forced Hyder Ali to lift the siege. He retreated northward, covering the movements of the Nizam's forces, but was disheartened when an entire corps of European cavalry deserted to the British. The failures of this campaign, combined with successful British advances in the Northern Circars and secret negotiations between the British and the Nizam Asaf Jah II, led to a split between Hyder Ali and the Nizam. The latter withdrew back to Hyderabad and eventually negotiated a new treaty with the British company in 1768. Hyder Ali, apparently seeking an end to the conflict, made peace overtures to the British, but was rebuffed.