Dominion of the British East India Company on the Indian subcontinent. This is variously taken to have commenced in 1757, after the Battle of Plassey, when the Nawab of Bengal surrendered his dominions to the Company, in 1765, when the Company was granted the diwani, or the right to collect revenue, in Bengal and Bihar,or in 1773, when the Company established a capital in Calcutta, appointed its first Governor-General, Warren Hastings, and became directly involved in governance.Further, the end of the Third Anglo-Maratha War in 1818 marked the era of British paramountcy over India.The East India Company was a private company owned by stockholders and reporting to a board of directors in London. Originally formed as a monopoly on trade, it increasingly took on governmental powers with its own army and judiciary. It seldom turned a profit, as employees diverted funds into their own pockets. The British government had little control, and there was increasing anger at the corruption and irresponsibility of Company officials or "nabobs" who made vast fortunes in a few years. Pitt's India Act of 1784 gave the British government effective control of the private company for the first time. The new policies were designed for an elite civil service career that minimized temptations for corruption. Increasingly Company officials lived in separate compounds according to British standards. The Company's rule lasted until 1858, when, after the Indian rebellion of 1857, it was abolished. With the Government of India Act 1858, the British government assumed the task of directly administering India in the new British Raj.