Question: When did Denmark lose control of Frederiknagore?
Related documents: [0]  [DOC] Danish India was the name given to the colonies of Denmark (Denmark–Norway before 1813) in India, forming part of the Danish colonial empire. Denmark–Norway held colonial possessions in India for more than 200 years, including the town of Tharangambadi in present-day Tamil Nadu state, Serampore in present-day West Bengal, and the Nicobar Islands, currently part of India's union territory of the Andaman and Nicobar Islands. The Danish presence in India was of little significance to the major European powers as they presented neither a military nor a mercantile threat. Dano-Norwegian ventures in India, as elsewhere, were typically undercapitalised and never able to dominate or monopolise trade routes in the same way that the companies of Portugal, the Netherlands and Britain could. Against all odds however they managed to cling to their colonial holdings, and at times, to carve out a valuable niche in international trade by taking advantage of wars between larger countries and offering foreign trade under a neutral flag. For this reason their presence was tolerated until 1845, when their alliance with a defeated France led to the colony being ceded to the British East Indian company. [END] 
[1]  [DOC] Serampore (also called Serampur, Srirampur, Srirampore, Shreerampur, Shreerampore, Shrirampur, Shrirampore, Srerampore) is a famous and historical city in the Indian state of West Bengal. It is the headquarter of the Srirampore subdivision. It is a part of the area covered by Kolkata Metropolitan Development Authority. It is a pre-colonial town (city) on the west bank of the Hooghly River. It was part of Danish India under the name Frederiknagore from 1755 to 1845. [END] 
Answer: 
until 1845, when their alliance with a defeated France led to the colony being ceded to the British East Indian company.
until 1845, when their alliance with a defeated France led to the colony being ceded to the British East Indian company.