evidence: In the later 18th century, Great Britain and France struggled for dominance, partly through proxy Indian rulers but also by direct military intervention. The defeat of the formidable Indian ruler Tipu Sultan in 1799 marginalised the French influence. This was followed by a rapid expansion of British power through the greater part of the Indian subcontinent in the early 19th century. By the middle of the century, the British had already gained direct or indirect control over almost all parts of India. British India, consisting of the directly ruled British presidencies and provinces, contained the most populous and valuable parts of the British Empire and thus became known as "the jewel in the British crown". [...] Danish [edit]Denmark–Norway held several factories in India for more than 200 years, but the Danish presence in India was of little significance to the major European powers as they presented neither a military nor a mercantile threat.[40] Denmark–Norway established trading outposts in Tranquebar, Tamil Nadu (1620); Serampore, West Bengal (1755); Calicut, Kerala (1752) and the Nicobar Islands (1750s). At one time, the main Danish and Swedish East Asia companies together imported more tea to Europe than the British did. Their outposts lost economic and strategic importance, and Tranquebar, the last Dano-Norwegian outpost, was sold to the British on 16 October 1868.[citation needed]