The vedic period was marked by the composition of the rigveda and the establishment of the caste system.