He became a lawyer and in 1929 joined the Indian National Congress movement. He was jailed several times in the struggle for Indian independence. He served in the United Provinces (now Uttar Pradesh) state assembly from 1937 on and was chief minister of Uttar Pradesh in 1967–68 and 1970.