<P> Kripalani joined the All India Congress Committee, and became its general secretary in 1928--29 . </P> <P> Kripalani was prominently involved over a decade in top Congress party affairs, and in the organisation of the Salt Satyagraha and the Quit India Movement . Kripalani served in the interim government of India (1946--1947) and the Constituent Assembly of India . During this time he rejected the proposal of United Bengal from Abul Hashim and Sarat Bose and called for the division of Bengal and the Punjab . </P> <P> In spite of being ideologically at odds with both the right - wing Vallabhbhai Patel and the left - wing Jawaharlal Nehru--he was elected Congress President for the crucial years around Indian independence in 1947 . After Gandhi's assassination in January 1948, Nehru rejected his demand that the party's views should be sought in all decisions . Nehru, with the support of Patel, told Kripalani that while the party was entitled to lay down the broad principles and guidelines, it could not be granted a say in the government's day - to - day affairs . This precedent became central to the relationship between government and ruling party in subsequent decades . </P> <P> Nehru, however, supported Kripalani in the election of the Congress President in 1950 . Kripalani, supported by Nehru, was defeated by Patel's candidate Purushottam Das Tandon . Bruised by his defeat, and disillusioned by what he viewed as the abandonment of the Gandhian ideal of a countless village republics, Kripalani left the Congress and became one of the founders of the Kisan Mazdoor Praja Party . This party subsequently merged with the Socialist Party of India to form the Praja Socialist Party . </P>

Who was the congress president when india attained independence
find me the text answering this question