Question: which had created the office of the secretary of state for india
Answer: The post was created in 1858 when the East India Company 's rule in Bengal ended and India except for the Princely States was brought under the direct administration of the government in London , beginning the official colonial period under the British Empire .