It spread throughout Asia, however, where it took firm hold in the ensuing centuries, coexisting with or merging with indigenous religions and philosophies, among them the Confucianism and Taoism of China, the Shintoism of Japan, and the Bon of Tibet.