Prior to Indian independence in 1947, the Viceroy of India received a unique viceregal salute of 31 guns. After 1947, the 31-gun salute was retained for honouring the Governor-General of India (1947–1950), and for the President of India from 1950 until 1971, as several former Indian salute-state princes enjoyed 21-gun salutes even after independence. The 31-gun salute was used upon the inaugurations and official arrivals of Presidents of India, and was finally replaced with the 21-gun salute in 1971, when the former salute-state princes' privilege of receiving gun salutes was revoked.