The ancient kingdom of Magadha is heavily mentioned in Jain and Buddhist texts.