Socialism in India is a political movement founded early in the 20th century, as a part of the broader movement to gain Indian independence from colonial rule. The movement grew quickly in popularity as it espoused the causes of India's farmers and labourers against the zamindars, princely class and landed gentry. Socialism shaped the principal economic and social policies of the Indian government but mostly followed Dirigisme after independence until the early 1990s, when India moved towards a more market-based economy.