<Table> Colonial India <Tr> <Td_colspan="2"> Imperial entities of India </Td> </Tr> <Tr> <Th> Dutch India </Th> <Td> 1605--1825 </Td> </Tr> <Tr> <Th> Danish India </Th> <Td> 1620--1869 </Td> </Tr> <Tr> <Th> French India </Th> <Td> 1668--1954 </Td> </Tr> <Tr> <Th_colspan="2"> Portuguese India (1505--1961) </Th> </Tr> <Tr> <Th> Casa da Índia </Th> <Td> 1434--1833 </Td> </Tr> <Tr> <Th> Portuguese East India Company </Th> <Td> 1628--1633 </Td> </Tr> <Tr> <Th_colspan="2"> British India (1612--1947) </Th> </Tr> <Tr> <Th> East India Company </Th> <Td> 1612--1757 </Td> </Tr> <Tr> <Th> Company rule in India </Th> <Td> 1757--1858 </Td> </Tr> <Tr> <Th> British Raj </Th> <Td> 1858--1947 </Td> </Tr> <Tr> <Th> British rule in Burma </Th> <Td> 1824--1948 </Td> </Tr> <Tr> <Th> Princely states </Th> <Td> 1721--1949 </Td> </Tr> <Tr> <Th> Partition of India </Th> <Td> 1947 </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Td_colspan="2"> <Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> </Td> </Tr> </Table> <Tr> <Td_colspan="2"> Imperial entities of India </Td> </Tr> <Tr> <Th> Dutch India </Th> <Td> 1605--1825 </Td> </Tr> <Tr> <Th> Danish India </Th> <Td> 1620--1869 </Td> </Tr>

Explain in detail how the british established their rule in india