Along with other Hindu gods (Brahma, Indra, Shiva and Vishnu), Ganesha was assimilated into Buddhism in the 10th Century by Hindu traders.