Social transformation in ancient India