As did India, Pakistan also received ex-British Shermans in 1947, most of which had the US 76 mm tank gun fitted on. Pakistan also bought 547 M4A1E4(76)s from the USA (one of its major allies since the end of the 1940s) during the 1950s. Around 300 of Pakistan's M4s saw their fair share of combat against various types of Indian armour (ranging from the then-already-obsolete American M3 Stuart light tank, also including same or similar Shermans in Indian military service as well, to the modern British Centurion MBT) in the Indo-Pakistani War of 1965 and the second one in 1971. After 1971, when the second war ended, the Pakistani Army retired their M4s from active military service. At the time of the Indo-Pakistani War of 1965, Pakistan owned 200 Shermans which were armed with 76 mm main guns. The Sherman fought on both Indian and Pakistani sides in the Second Kashmir War (otherwise known more widely as the Indo-Pakistani War of 1965) as well as the Indo-Pakistani War of 1971. Some of the surviving Shermans from both wars between the two South Asian nations are on display all across both countries, in India as well as in Pakistan, with the latter having at least one of its Shermans displayed at the Pakistan Army Museum.