The roots of the Socialist Party can be traced back to the mass movement stage of the Indian National Congress in the pre-independence era. The Congress Socialist Party (CSP) was formed within the Congress in 1934 by a group of leaders like Lohia, Narendra Dev, who wanted a more radical and egalitarian Congress. In 1948, the Congress amended its party constitution, forced the socialists to form a separate Socialist Party. The socialists believed in the ideology of democratic socialism. They condemned the Congress for the pro-capitalists and pro-landlords and for ignoring the workers and the peasants. The Socialists Party went through many splits and reunions leading to the formation of many socialists parties. These included Kisan Mazdoor Praja Party, Jayaprakash Narayan. S.M. Joshi were among the leaders of the socialist parties.