A lawyer by profession, he began working with Mohandas Gandhi in 1917. He was imprisoned by the British (1942–45) for supporting the Congress opposition to the British war effort in World War II. He represented the conservative wing within Congress, of which he was President on four occasions between 1932 and 1947. Prasad became President of India (1950–62) when the republic was proclaimed.