The Indus Valley Civilization, which spread and flourished in the northwestern part of the Indian subcontinent from c. 3300 to 1300 BCE in present-day Pakistan and northwest India, was the first major civilization in South Asia.[2] A sophisticated and technologically advanced urban culture developed in the Mature Harappan period, from 2600 to 1900 BCE.[3] This civilization collapsed at the start of the second millennium BCE and was later followed by the Iron Age Vedic Civilization, which extended over much of the Indo-Gangetic plain and which witness the rise of major polities known as the Mahajanapadas. In one of these kingdoms, Magadha, Mahavira and Gautama Buddha propagated their Shramanic philosophies during the fifth and sixth century BCE.