The correct option is B Jainism
The Western Gangas ruled in Mysore state from about 250 to about 1004 CE. Konganivarman was its first ruler who carved out a kingdom by conquest. The kingdom was expanded by his successors, Madhava I and Harivarman, by marital and military alliances with the Pallavas, Chalukyas, and Kadambas. Most of the Western Gangas were Jainas and patronized it but some also supported Hinduism.