As a consequence, India focussed on enhancing communication and coordination within and among the tri-services of the Indian Armed Forces. Partly as a result of the inefficient information gathering preceding the war, India established the Research and Analysis Wing for external espionage and intelligence. Major improvements were also made in command and control to address various shortcomings and the positive impact of these changes was clearly visible during the Indo-Pakistani War of 1971 when India achieved a decisive victory over Pakistan within two weeks.