He was selected as the General Secretary of All India Congress Committee in the year 1951 when Jawaharlal Nehru was the Prime Minister. As a General Secretary, he was in charge for the candidates selection and all the activities related to the election. On 3rd of April in 1952, he was nominated to the Rajya Sabha from UP and appointed as the Railways and Transport Minister in the Central Cabinet from 13th of May, 1952 to 7th of December, 1956. After a railways accident at Mahbubnagar in the month of September in 1956, he resigned from the Railways and Transport Ministership which was rejected by the Nehru. After a second railway accident at Ariyalur in the Tamil Nadu, he again resigned from the Railways and Transport Ministership.
He returned to the Cabinet in the year 1957 as a Minister for Transport and Communications and then Minister of Commerce and Industry. He also became the Union Home Minister in the year 1961 and worked on the Prevention of Corruption in the India.