At the time of independence, Indian Artillery consisted of Field, Medium, Air Defence, Counter Bombardment, Coastal, Air Observation Post and Survey branches. After the partition of India in 1947, the Royal Indian Artillery was divided with India being allotted eighteen and a half regiments while remaining nine and half units went to Pakistan. Artillery units have taken part and showed their prowess in the Indo-Pakistani War of 1947–1948, Sino-Indian War of 1962, Indo-Pakistani War of 1965, Indo-Pakistani War of 1971 and the Kargil War.