India played an important role in developing the Non-Aligned Movement as it sought to be independent and not aligned with either Western capitalism or Soviet communism in the post-colonial era. Nonalignment originated from India's experience with colonialism and its determination to self-govern, as shown through its nonviolent independence movement led by the Congress. By the late 1940s, nonalignment became a consistent and widely supported part of India's foreign policy among its elite.