<Tr> <Th> District </Th> <Td> Shimla </Td> </Tr> <Tr> <Th> Named for </Th> <Td> Hindu goddess Shyamala Devi </Td> </Tr> <Tr> <Th_colspan="2"> Government </Th> </Tr> <Tr> <Th> Type </Th> <Td> Municipal Corporation </Td> </Tr>

When did shimla become the capital of hp