Great Britain and France had territories in the Americas as well as the Indian subcontinent. In 1778, when France declared war against Britain, fighting broke out between British and French colonies in India. This marked the beginning of the Second Anglo-Mysore War. Hyder Ali, the Sultan of the Kingdom of Mysore, allied himself with the French. From 1780 to 1783, Franco-Mysorean forces fought in several campaigns against the British in western and southern India, in several places such as Mahé and Mangalore.