The British Indian Army, commonly referred to as the Indian Army, was the main military of the British Raj before its dissolution in 1947. It was responsible for the defence of the British Indian Empire, including the princely states, which could also have their own armies. As quoted in the Imperial Gazetteer of India, "The British Government has undertaken to protect the dominions of the Native princes from invasion and even from rebellion within: its army is organized for the defence not merely of British India, but of all possessions under the suzerainty of the King-Emperor." The Indian Army was an important part of the British Empire's forces, both in India and abroad, particularly during the First World War and the Second World War. The term Indian Army appears to have been first used informally, as a collective description of the Presidency armies, which collectively comprised the Bengal Army, the Madras Army and the Bombay Army, of the Presidencies of British India, particularly after the Indian Rebellion. The first army officially called the Indian Army was raised by the government of India in 1895, existing alongside the three long-established presidency armies. However, in 1903 the Indian Army absorbed these three armies. The Indian Army should not be confused with the Army of India (1903–1947) which was the Indian Army itself plus the British Army in India (British units sent to India), which was later split into the Indian Army and the Army of Pakistan. History The Indian Army has its origins in the years after the Indian Rebellion of 1857, often called the Indian Mutiny in British histories, when in 1858 the Crown took over direct rule of British India from the East India Company. Before 1858, the precursor units of the Indian Army were units controlled by the Company and were paid for by their profits. These operated alongside units of the British Army, funded by the British government in London. The three Presidency armies remained separate forces, each with its own Commander-in-Chief. Overall operational control was exercised by the Commander-in-Chief of the Bengal Army, who was formally the Commander-in-Chief of the East Indies. From 1861, most of the officer manpower was pooled in the three Presidential Staff Corps. After the Second Afghan War a Commission of Enquiry recommended the abolition of the presidency armies. The Ordnance, Supply and Transport, and Pay branches were by then unified. The Punjab