The Indian military consists of the army, air force, and navy and plays several roles including external defense, internal security, and aid to civilian operations. It is one of the largest standing militaries in the world. Jawaharlal Nehru distrusted the military due to his dislike of it being used as a tool of British rule. This, along with India's size, diversity, and legitimacy helped prevent a military coup. However, the military now faces challenges including shortages, erosion of professionalism, and need for modernization. The Indian bureaucracy is headed by elite civil services recruited through a national exam. It was criticized for not being truly Indian but also praised for its competence and patriotism.