answers: 1858
context: the Marquess of Hastings led to the company's gaining control of all India (except for the Punjab and Sindh), and some part of the then kingdom of Nepal under the Sugauli Treaty. The Indian Princes had become vassals of the company. But the expense of wars leading to the total control of India strained the company's finances. The company was forced to petition Parliament for assistance. This was the background to the Charter Act of 1813 which, among other things: The Industrial Revolution in Britain, the consequent search for markets, and the rise of "laissez-faire" economic ideology form the background </s> had by then rendered it vestigial, powerless, and obsolete. The official government machinery of British India assumed the East India Company's governmental functions and absorbed its navy and its armies in 1858. Soon after the defeat of the Spanish Armada in 1588, the captured Spanish and Portuguese ships with their cargoes enabled English voyagers to potentially travel the globe in search of riches. London merchants presented a petition to Queen Elizabeth I for permission to sail to the Indian Ocean. The aim was to deliver a decisive blow to the Spanish and Portuguese monopoly of Far Eastern Trade. Elizabeth granted </s> of Plassey and another victory in the 1764 Battle of Buxar (in Bihar), consolidated the Company's power, and forced emperor Shah Alam II to appoint it the "diwan", or revenue collector, of Bengal, Bihar, and Orissa. The Company thus became the de facto ruler of large areas of the lower Gangetic plain by 1773. It also proceeded by degrees to expand its dominions around Bombay and Madras. The Anglo-Mysore Wars (1766–99) and the Anglo-Maratha Wars (1772–1818) left it in control of large areas of India south of the Sutlej River. With the defeat of the Marathas, no native power represented
question: when did the british government take over the reign of india from the east india company