A Military Department was created within the Supreme Government of the East Company at in the year 1776. Its main function was to sift and record orders relating to the Army that were issued by various Departments of the Government of the [9]

With the Charter Act of 1833, the Secretariat of the Government of the East India Company was reorganised into four Departments, including a Military Department. The army in the Presidencies of Bengal, Bombay & Madras functioned as respective Presidency Army until April 1895, when the Presidency Armies were unified into a single Indian Army. For administrative convenience, it was divided into four commands at that point of time, namely Punjab (including the North West Frontier), Bengal, Madras (including Burma) and Bombay (including Sind, Quetta and Aden).[10]

The British Indian Army was a critical force for the primacy of the British Empire both in India and across the world. Besides maintaining the internal security of the British Raj, the Army fought in many other theatres – Anglo-Burmese Wars, First and Second Anglo-Sikh Wars,First, Second and Third Anglo-Afghan Wars, First and Second Opium Wars in China,Abyssinia, Boxer Rebellion in China. World Wars[edit] Main articles: Indian Army during World War I and Indian Army during World War II

French postcard depicting the arrival of 15th Sikh Regiment in France during World War I. The postcard reads, "Gentlemen of India marching to chasten the German hooligans".

An Indian soldier with the flag ofNazi Germany after German surrender during World War II

In the 20th century, the Indian Army was a crucial adjunct to the British forces in both the World Wars. 1.3 million Indian soldiers served in World War I (1914–1918) for the Allies, in which 74,187 Indian troops were killed or missing in action.[11] After the United Kingdom made vague promises of self- governance to the Indian National Congress in return for its support. Britain reneged on its promises after the war, following which the Indian Independence movement gained strength.

The "Indianisation" of the British Indian Army began with the formation of the Prince of Wales Royal Indian Military College at Dehradun in March 1912 with the purpose of providing education to the scions of aristocratic and well-to-do Indian families and to prepare selected Indian boys for admission into the Royal Military College, Sandhurst. Indian officers given a King's commission after passing out were posted to one of the eight units selected for Indianisation. Political pressure being applied due to the slow pace of Indianisation, with just 69 officers being commissioned between 1918 and 1932, led to the formation of the Indian Military Academy in 1932 and greater numbers of officers of Indian origin being commissioned.[12]

In World War II Indian soldiers fought for the Allies. In 1939, British officials had no plan for expansion and training of Indian forces, which comprised about 130,000 men (in addition there were 44,000 men in British units in India in 1939). Their mission was internal security and defence against a possible Soviet threat through Afghanistan. As the war progressed, the size and role of the Indian Army expanded dramatically, and troops were sent to battle fronts as soon as possible. The most serious problem was lack of equipment.[13]

In the African and Middle-Eastern Campaigns, captured Indian troops were given a choice to join the German Army to eventually "liberate" India from Great Britain instead of being sent to POW camps. These men, along with Indian students who were in Germany when the war broke out, made up what was called the Free India Legion. They were originally intended as pathfinders for German forces in Asia but they soon were sent to help guard the Atlantic Wall. Few who were part of the Free India Legion ever saw any combat and very few were ever stationed outside of Europe. At its height the Free India Legion had over 3,000 troops in its ranks.[14] Indian units served in Burma, where in 1944–45 five Indian divisions were engaged along with one British and three African divisions. Even larger numbers operated in the Middle East. Some 87,000 Indian soldiers died in the war.

Elements of British Indian army played important part in Indian independence movement. In the 1915 Singapore Mutiny and in World War Two, thousands of British Indian army soldiers rose up and fought against British, most importantly by joining the Indian National Army, which was allied with the Empire of Japan, was raised by a former col of British Indian Army (Gen) Mohan Singh but later led by Netaji Subhas Chandra Bose and Rash Bihari Bose. With the fall of Singapore in 1942, about 40,000 Indian soldiers were captured. They were given a choice and over 30,000 joined the Indian National Army. Those who refused became POWs and were mostly shipped to New Guinea.[15] After initial success it was defeated along with Japanese but it had huge impact on Indian independence movement. Similar organisations were also made in Germany and Japan. In 1946 Indian sailors revolted against British which resulted in 1946 British Indian Navy Mutiny. Post independence[edit]

Upon independence and the subsequent Partition of India in 1947, four of the ten Gurkha regiments were transferred to the . The rest of the British Indian Army was divided between the newly created nations of Republic of India and Republic of Pakistan. The Punjab Boundary Force, which had been formed to help police the Punjab during the partition period, was disbanded,[16] and Headquarters Delhi and East Punjab Command was formed to administer the area.

Conflicts and operations[edit] First Kashmir War (1947)[edit] Main article: Indo-Pakistani War of 1947

Immediately after independence, tensions between India and Pakistan began to boil over, and the first of three full-scale wars between the two nations broke out over the then princely state of Kashmir. The Maharaja of Kashmir wanted to have stand still position. Since, Kashmir was Muslim majority state, Pakistan wanted to make Kashmir a Pakistani territory. In 1948, Pakistan invaded Kashmir, as a result, Maharaja Hari Singh appealed to India, and to Lord Mountbatten of Burma, the Governor General, for help. He signed the Instrument of Accession to India. It took 2 weeks for Indian forces to reach war front. Indian troops were airlifted to Srinagar.[17] This contingent included General Thimayya who distinguished himself in the operation and in years that followed, became a Chief of the Indian Army. An intense war was waged across the state and former comrades found themselves fighting each other. Pakistan suffered significant losses. Its forces were stopped on the line formed which is now called LOC (Line of Control).

An uneasy UN sponsored peace returned by the end of 1948 with Indian and Pakistani soldiers facing each other directly on the Line of Control, which has since divided Indian-held Kashmir from Pakistan-held Kashmir. A number of UN resolutions (38–47) were passed calling for a plebiscite to be held in Kashmir to determine accession to India or Pakistan.[18] These resolutions were never accepted by India.[19] Tensions between India and Pakistan, largely over Kashmir, have never since been entirely eliminated.