Background
He was born in Calcutta into a Vaidya-Brahmin family.
He was born in Calcutta into a Vaidya-Brahmin family.
University College London. Presidency University, Kolkata.
His early education was at Hare School and Presidency College, Calcutta. In England he joined University College, London and eventually passed the Open Competitive Service Examinations to become the third Indian to join the Indian Civil Service in 1869 coming out to India in 1871. He belonged to the famous batch of 1869 which produced four Indians in the Indian Civil Service, including Roman Catholic Dutt, himself, Surendranath Banerjee and Sripad Babaji Thakur.
He was also called to the Bar by the Honourable Society of Middle Temple in 1871.
His career in the civil service was distinguished: he became the first Indian Chief Presidency Magistrate and Coroner of Calcutta in 1872, an appointment that sparked off a serious debate on the legitimacy of an Indian civilian being appointed to such a senior position in the British Indian administration, leading to the Ilbert Bill controversy of 1883. Gupta was also a District and Sessions Judge, Remembrancer and Superintendent of Legal Affairs, Bengal, Member, Bengal Legislative Council, and finally a Judge (offtg) of the High Court of Calcutta from where he retired in 1907.
After retirement he was appointed as Law and Justice Member in Baroda in 1909 and Dewan in 1912. In 1914 he travelled with His Highness, Maharaja Sayajirao Gaekwad III, Maharaja of Baroda to Europe.
He was a member of the Brahmo Sammilan Samaj in Bhowanipore, Calcutta.